mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/6] staging: comedi: usbduxsigma: fix some problems in command handling
@ 2015-07-23 15:46 Ian Abbott
  2015-07-23 15:46 ` [PATCH 1/6] staging: comedi: usbduxsigma: don't clobber ai_timer in command test Ian Abbott
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Ian Abbott @ 2015-07-23 15:46 UTC (permalink / raw)
  To: driverdev-devel
  Cc: Greg Kroah-Hartman, Ian Abbott, H Hartley Sweeten, Bernd Porr,
	linux-kernel

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(-)

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-07-24 17:05 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-23 15:46 [PATCH 0/6] staging: comedi: usbduxsigma: fix some problems in command handling Ian Abbott
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

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®