From: Ian Abbott <abbotti@mev.co.uk>
To: <driverdev-devel@linuxdriverproject.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Ian Abbott <abbotti@mev.co.uk>,
H Hartley Sweeten <hsweeten@visionengravers.com>,
Bernd Porr <mail@berndporr.me.uk>, <linux-kernel@vger.kernel.org>
Subject: [PATCH 0/6] staging: comedi: usbduxsigma: fix some problems in command handling
Date: Thu, 23 Jul 2015 16:46:56 +0100 [thread overview]
Message-ID: <1437666422-25222-1-git-send-email-abbotti@mev.co.uk> (raw)
Fix some minor problems in the testing of asynchronous commands for the AI
and AO subdevices and remove some redundant code.
The main problem is that the testing of a new command can affect the
operation of an already running command, which it isn't supposed to do. (In
practice, applications don't tend to test new commands while a command is
running on the same subdevice, so the bug can be classed as minor.) This is
corrected by the patches 1 and 2, for the AI and AO subdevices,
respectively.
1) staging: comedi: usbduxsigma: don't clobber ai_timer in command test
2) staging: comedi: usbduxsigma: don't clobber ao_timer in command test
3) staging: comedi: usbduxsigma: remove AI scan_begin_src == TRIG_FOLLOW
4) staging: comedi: usbduxsigma: round down AI scan_begin_arg at step 4.
5) staging: comedi: usbduxsigma: remove unused "convert" timing for AO
6) staging: comedi: usbduxsigma: round down AO scan_begin_arg at step 4.
drivers/staging/comedi/drivers/usbduxsigma.c | 139 +++++++++++----------------
1 file changed, 54 insertions(+), 85 deletions(-)
next reply other threads:[~2015-07-23 15:47 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-23 15:46 Ian Abbott [this message]
2015-07-23 15:46 ` [PATCH 1/6] staging: comedi: usbduxsigma: don't clobber ai_timer in command test Ian Abbott
2015-07-24 16:57 ` Bernd Porr
2015-07-23 15:46 ` [PATCH 2/6] staging: comedi: usbduxsigma: don't clobber ao_timer " Ian Abbott
2015-07-24 16:58 ` Bernd Porr
2015-07-23 15:46 ` [PATCH 3/6] staging: comedi: usbduxsigma: remove AI scan_begin_src == TRIG_FOLLOW Ian Abbott
2015-07-24 16:58 ` Bernd Porr
2015-07-23 15:47 ` [PATCH 4/6] staging: comedi: usbduxsigma: round down AI scan_begin_arg at step 4 Ian Abbott
2015-07-24 16:58 ` Bernd Porr
2015-07-23 15:47 ` [PATCH 5/6] staging: comedi: usbduxsigma: remove unused "convert" timing for AO Ian Abbott
2015-07-24 16:59 ` Bernd Porr
2015-07-23 15:47 ` [PATCH 6/6] staging: comedi: usbduxsigma: round down AO scan_begin_arg at step 4 Ian Abbott
2015-07-24 16:59 ` Bernd Porr
2015-07-24 17:02 ` [PATCH 0/6] staging: comedi: usbduxsigma: fix some problems in command handling Hartley Sweeten
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1437666422-25222-1-git-send-email-abbotti@mev.co.uk \
--to=abbotti@mev.co.uk \
--cc=driverdev-devel@linuxdriverproject.org \
--cc=gregkh@linuxfoundation.org \
--cc=hsweeten@visionengravers.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mail@berndporr.me.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®