Re: [PATCH 7/7] staging: comedi: comedi_fops: extend spin-lock scope in comedi_event()

2015-04-01 Thread Ian Abbott
On 31/03/15 17:13, Hartley Sweeten wrote: On Tuesday, March 31, 2015 2:43 AM, Ian Abbott wrote: On 30/03/15 17:47, Hartley Sweeten wrote: On Friday, March 27, 2015 8:13 AM, Ian Abbott wrote: `comedi_event()` is called from low-level drivers to handle comedi asynchronous command event flags

Re: [PATCH 7/7] staging: comedi: comedi_fops: extend spin-lock scope in comedi_event()

2015-03-31 Thread Ian Abbott
On 30/03/15 17:47, Hartley Sweeten wrote: On Friday, March 27, 2015 8:13 AM, Ian Abbott wrote: `comedi_event()` is called from low-level drivers to handle comedi asynchronous command event flags. As a safety check, it checks the subdevice's "run" flags to make sure an asynchrono

Re: [PATCH 7/7] staging: comedi: comedi_fops: extend spin-lock scope in comedi_event()

2015-03-31 Thread Ian Abbott
On 30/03/15 17:47, Hartley Sweeten wrote: On Friday, March 27, 2015 8:13 AM, Ian Abbott wrote: `comedi_event()` is called from low-level drivers to handle comedi asynchronous command event flags. As a safety check, it checks the subdevice's run flags to make sure an asynchronous command

Re: [PATCH 62/86] staging/comedi: use uapi/linux/pci_ids.h directly

2015-03-29 Thread Ian Abbott
test linux-next. -- -=( Ian Abbott @ MEV Ltd.E-mail: )=- -=( Web: http://www.mev.co.uk/ )=- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.

Re: [PATCH 62/86] staging/comedi: use uapi/linux/pci_ids.h directly

2015-03-29 Thread Ian Abbott
/pci_ids.h? Also, this patch doesn't apply to the latest linux-next. -- -=( Ian Abbott @ MEV Ltd.E-mail: abbo...@mev.co.uk )=- -=( Web: http://www.mev.co.uk/ )=- -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

[PATCH 01/60] staging: comedi: comedi_fc.h: begin migration to comedidev.h

2015-03-27 Thread Ian Abbott
;../comedidev.h", but change the `cfc_` prefix to `comedi_`. Change the original functions in "comedi_fc.h" into simple wrappers for their replacements. Once the drivers have been changed to call the replacement functions, "comedi_fc.h" can be removed. Signed-off-by:

[PATCH 03/60] staging: comedi: addi_apci_1516: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
"addi_apci_1516.c" doesn't use anything from "comedi_fc.h". Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/addi_apci_1516.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/addi_apci_1516.c b/drivers/staging/comedi/drivers/ad

[PATCH 06/60] staging: comedi: cb_pcidda: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
"cb_pcidda.c" doesn't use anything from "comedi_fc.h". Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/cb_pcidda.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/cb_pcidda.c b/drivers/staging/comedi/drivers/cb_pcidda.c in

[PATCH 05/60] staging: comedi: cb_das16_cs: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
"cb_das16_cs.c" doesn't use anything from "comedi_fc.h". Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/cb_das16_cs.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/cb_das16_cs.c b/drivers/staging/comedi/drivers/cb_das1

[PATCH 04/60] staging: comedi: addi_apci_3501: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
"addi_apci_3501.c" doesn't use anything from "comedi_fc.h". Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/addi_apci_3501.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/addi_apci_3501.c b/drivers/staging/comedi/drivers/ad

[PATCH 07/60] staging: comedi: mite: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
"mite.c" doesn't use anything from "comedi_fc.h". Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/mite.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/mite.c b/drivers/staging/comedi/drivers/mite.c index 4cfe949..e43a0c8

[PATCH 10/60] staging: comedi: addi_apci_1032: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 16/60] staging: comedi: adl_pci9111: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 15/60] staging: comedi: addi_apci_3xxx: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 11/60] staging: comedi: addi_apci_1500: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 09/60] staging: comedi: ni_labpc_isadma: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
"ni_labpc_isadma.c" doesn't use anything from "comedi_fc.h". Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/ni_labpc_isadma.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/ni_labpc_isadma.c b/drivers/staging/comedi/drive

[PATCH 08/60] staging: comedi: ni_660x: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
"ni_660x.c" doesn't use anything from "comedi_fc.h". Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/ni_660x.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/ni_660x.c b/drivers/staging/comedi/drivers/ni_660x.c index b91

[PATCH 20/60] staging: comedi: amplc_dio200_common: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off

[PATCH 25/60] staging: comedi: cb_pcidas: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 14/60] staging: comedi: addi_apci_3120: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 23/60] staging: comedi: amplc_pci230: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 26/60] staging: comedi: comedi_parport: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 13/60] staging: comedi: addi_apci_2032: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 22/60] staging: comedi: amplc_pci224: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 28/60] staging: comedi: das16: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 29/60] staging: comedi: das16m1: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 18/60] staging: comedi: adv_pci1710: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 30/60] staging: comedi: das1800: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 34/60] staging: comedi: dt2814: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 32/60] staging: comedi: das800: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 31/60] staging: comedi: das6402: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 17/60] staging: comedi: adl_pci9118: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 40/60] staging: comedi: ni_65xx: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 35/60] staging: comedi: dt282x: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 36/60] staging: comedi: dt3000: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 39/60] staging: comedi: ni_6527: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 27/60] staging: comedi: comedi_test: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 24/60] staging: comedi: cb_pcidas64: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 42/60] staging: comedi: ni_atmio16d: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 41/60] staging: comedi: ni_at_a2150: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 45/60] staging: comedi: ni_pcidio: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 49/60] staging: comedi: pcl812: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 33/60] staging: comedi: dmm32at: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 47/60] staging: comedi: pcl711: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 48/60] staging: comedi: pcl726: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 46/60] staging: comedi: ni_tiocmd: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 52/60] staging: comedi: pcmmio: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 56/60] staging: comedi: s626: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 55/60] staging: comedi: rtd520: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 38/60] staging: comedi: me4000: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 44/60] staging: comedi: ni_mio_common: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 54/60] staging: comedi: quatech_daqp_cs: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 57/60] staging: comedi: usbdux: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 59/60] staging: comedi: usbduxsigma: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 58/60] staging: comedi: usbduxfast: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 60/60] staging: comedi: remove "comedi_fc.h"

2015-03-27 Thread Ian Abbott
None of the comedi low-level drivers include "comedi_fc.h" any longer, so remove it. Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/comedi_fc.h | 58 -- 1 file changed, 58 deletions(-) delete mode 100644 drivers/staging/comedi/drivers/comedi_

[PATCH 51/60] staging: comedi: pcl818: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 43/60] staging: comedi: ni_labpc_common: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 19/60] staging: comedi: aio_iiro_16: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 21/60] staging: comedi: amplc_pc236_common: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off

[PATCH 50/60] staging: comedi: pcl816: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 37/60] staging: comedi: gsc_hpdi: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 53/60] staging: comedi: pcmuio: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 12/60] staging: comedi: addi_apci_1564: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
As preparation for removal of "comedi_fc.h", replace calls to the `cfc_check_trigger_...` functions from "comedi_fc.h" with the replacement `comedi_check_trigger_...` functions from "../comedidev.h" and remove the inclusion of "comedi_fc.h". Signed-off-by:

[PATCH 02/60] staging: comedi: 8255: remove #include "comedi_fc.h"

2015-03-27 Thread Ian Abbott
"8255.c" doesn't use anything from "comedi_fc.h". Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/8255.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/8255.c b/drivers/staging/comedi/drivers/8255.c index c2f15de..ba89321

[PATCH 00/60] staging: comedi: "comedi_fc.h" removal

2015-03-27 Thread Ian Abbott
This series migrates the `cfc_check_trigger_...()` functions out of "comedi_fc.h" and into "comedidev.h", and renames them to start with `comedi_` instead of `cfc_`. Finally, "comedi_fc.h" is removed. 01) staging: comedi: comedi_fc.h: begin migration to comedidev.h 02) staging: comedi: 8255:

[PATCH] staging: comedi: make comedi_internal.h self-reliant

2015-03-27 Thread Ian Abbott
Add `#include`s and declare incomplete types to "comedi_internal.h" so that .c files still compile when it is the first file included. Signed-off-by: Ian Abbott --- drivers/staging/comedi/comedi_internal.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/stag

[PATCH 7/7] staging: comedi: comedi_fops: extend spin-lock scope in comedi_event()

2015-03-27 Thread Ian Abbott
ce_running()` Signed-off-by: Ian Abbott --- drivers/staging/comedi/comedi_fops.c | 70 +++- 1 file changed, 46 insertions(+), 24 deletions(-) diff --git a/drivers/staging/comedi/comedi_fops.c b/drivers/staging/comedi/comedi_fops.c index 7ae605f..e78ddbe 100644 ---

[PATCH 4/7] staging: comedi: comedi_fops: remove unnecessary s->async use

2015-03-27 Thread Ian Abbott
In places where the `s->async` value has been stored in a local variable, use the variable instead of repeating `s->async`. Signed-off-by: Ian Abbott --- drivers/staging/comedi/comedi_fops.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/

[PATCH 3/7] staging: comedi: comedi_fops: simplify comedi_is_subdevice_idle()

2015-03-27 Thread Ian Abbott
Don't use a conditional operator when a simple "not" will do. Signed-off-by: Ian Abbott --- drivers/staging/comedi/comedi_fops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/comedi_fops.c b/drivers/staging/comedi/comedi_fops.c ind

[PATCH 0/7] staging: comedi: comedi_fops: some runflag and event handling changes

2015-03-27 Thread Ian Abbott
Various changes to the core comedi code, mostly to do with spin-lock usage for the comedi subdevice runflags and event handling. 1) staging: comedi: comedi_fops: rename comedi_set_subdevice_runflags() 2) staging: comedi: comedi_fops: eliminate a use of subdevice spin-lock 3) staging: comedi:

[PATCH 1/7] staging: comedi: comedi_fops: rename comedi_set_subdevice_runflags()

2015-03-27 Thread Ian Abbott
`comedi_set_subdevice_runflags()` changes the comedi subdevice's `runflags` member according to a bit-mask and new bit values. It's name might suggest that it only "sets", not "clears". Rename it to `comedi_update_subdevice_runflags()` to avoid confusion. Signed-off-by: Ian

[PATCH 2/7] staging: comedi: comedi_fops: eliminate a use of subdevice spin-lock

2015-03-27 Thread Ian Abbott
-off-by: Ian Abbott --- drivers/staging/comedi/comedi_fops.c | 32 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/drivers/staging/comedi/comedi_fops.c b/drivers/staging/comedi/comedi_fops.c index 2b75b7a1..17ac285 100644 --- a/drivers/staging/comedi

[PATCH 5/7] staging: comedi: comedi_fops: always clear events

2015-03-27 Thread Ian Abbott
>async->events` unchanged in this case. For additional safety, change it to always clear the event flags to avoid leaving stale event flags set when another asynchronous command is set up. Signed-off-by: Ian Abbott --- drivers/staging/comedi/comedi_fops.c | 9 + 1 file changed, 5 inse

[PATCH 6/7] staging: comedi: comedi_fops: send SIGIO according to command direction

2015-03-27 Thread Ian Abbott
he `CMDF_WRITE` flag is set in the current command, it's in the "write" direction, otherwise it's in the "read" direction. Signed-off-by: Ian Abbott --- drivers/staging/comedi/comedi_fops.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers

[PATCH 6/7] staging: comedi: comedi_fops: send SIGIO according to command direction

2015-03-27 Thread Ian Abbott
is set in the current command, it's in the write direction, otherwise it's in the read direction. Signed-off-by: Ian Abbott abbo...@mev.co.uk --- drivers/staging/comedi/comedi_fops.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/comedi/comedi_fops.c b

[PATCH 5/7] staging: comedi: comedi_fops: always clear events

2015-03-27 Thread Ian Abbott
` unchanged in this case. For additional safety, change it to always clear the event flags to avoid leaving stale event flags set when another asynchronous command is set up. Signed-off-by: Ian Abbott abbo...@mev.co.uk --- drivers/staging/comedi/comedi_fops.c | 9 + 1 file changed, 5

[PATCH 2/7] staging: comedi: comedi_fops: eliminate a use of subdevice spin-lock

2015-03-27 Thread Ian Abbott
-off-by: Ian Abbott abbo...@mev.co.uk --- drivers/staging/comedi/comedi_fops.c | 32 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/drivers/staging/comedi/comedi_fops.c b/drivers/staging/comedi/comedi_fops.c index 2b75b7a1..17ac285 100644

[PATCH 1/7] staging: comedi: comedi_fops: rename comedi_set_subdevice_runflags()

2015-03-27 Thread Ian Abbott
`comedi_set_subdevice_runflags()` changes the comedi subdevice's `runflags` member according to a bit-mask and new bit values. It's name might suggest that it only sets, not clears. Rename it to `comedi_update_subdevice_runflags()` to avoid confusion. Signed-off-by: Ian Abbott abbo...@mev.co.uk

[PATCH 7/7] staging: comedi: comedi_fops: extend spin-lock scope in comedi_event()

2015-03-27 Thread Ian Abbott
()` Signed-off-by: Ian Abbott abbo...@mev.co.uk --- drivers/staging/comedi/comedi_fops.c | 70 +++- 1 file changed, 46 insertions(+), 24 deletions(-) diff --git a/drivers/staging/comedi/comedi_fops.c b/drivers/staging/comedi/comedi_fops.c index 7ae605f..e78ddbe 100644

[PATCH 4/7] staging: comedi: comedi_fops: remove unnecessary s-async use

2015-03-27 Thread Ian Abbott
In places where the `s-async` value has been stored in a local variable, use the variable instead of repeating `s-async`. Signed-off-by: Ian Abbott abbo...@mev.co.uk --- drivers/staging/comedi/comedi_fops.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers

[PATCH 3/7] staging: comedi: comedi_fops: simplify comedi_is_subdevice_idle()

2015-03-27 Thread Ian Abbott
Don't use a conditional operator when a simple not will do. Signed-off-by: Ian Abbott abbo...@mev.co.uk --- drivers/staging/comedi/comedi_fops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/comedi_fops.c b/drivers/staging/comedi/comedi_fops.c index

[PATCH 0/7] staging: comedi: comedi_fops: some runflag and event handling changes

2015-03-27 Thread Ian Abbott
Various changes to the core comedi code, mostly to do with spin-lock usage for the comedi subdevice runflags and event handling. 1) staging: comedi: comedi_fops: rename comedi_set_subdevice_runflags() 2) staging: comedi: comedi_fops: eliminate a use of subdevice spin-lock 3) staging: comedi:

[PATCH] staging: comedi: make comedi_internal.h self-reliant

2015-03-27 Thread Ian Abbott
Add `#include`s and declare incomplete types to comedi_internal.h so that .c files still compile when it is the first file included. Signed-off-by: Ian Abbott abbo...@mev.co.uk --- drivers/staging/comedi/comedi_internal.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers

[PATCH 53/60] staging: comedi: pcmuio: remove #include comedi_fc.h

2015-03-27 Thread Ian Abbott
As preparation for removal of comedi_fc.h, replace calls to the `cfc_check_trigger_...` functions from comedi_fc.h with the replacement `comedi_check_trigger_...` functions from ../comedidev.h and remove the inclusion of comedi_fc.h. Signed-off-by: Ian Abbott abbo...@mev.co.uk --- drivers

[PATCH 50/60] staging: comedi: pcl816: remove #include comedi_fc.h

2015-03-27 Thread Ian Abbott
As preparation for removal of comedi_fc.h, replace calls to the `cfc_check_trigger_...` functions from comedi_fc.h with the replacement `comedi_check_trigger_...` functions from ../comedidev.h and remove the inclusion of comedi_fc.h. Signed-off-by: Ian Abbott abbo...@mev.co.uk --- drivers

[PATCH 37/60] staging: comedi: gsc_hpdi: remove #include comedi_fc.h

2015-03-27 Thread Ian Abbott
As preparation for removal of comedi_fc.h, replace calls to the `cfc_check_trigger_...` functions from comedi_fc.h with the replacement `comedi_check_trigger_...` functions from ../comedidev.h and remove the inclusion of comedi_fc.h. Signed-off-by: Ian Abbott abbo...@mev.co.uk --- drivers

[PATCH 21/60] staging: comedi: amplc_pc236_common: remove #include comedi_fc.h

2015-03-27 Thread Ian Abbott
As preparation for removal of comedi_fc.h, replace calls to the `cfc_check_trigger_...` functions from comedi_fc.h with the replacement `comedi_check_trigger_...` functions from ../comedidev.h and remove the inclusion of comedi_fc.h. Signed-off-by: Ian Abbott abbo...@mev.co.uk --- .../staging

[PATCH 19/60] staging: comedi: aio_iiro_16: remove #include comedi_fc.h

2015-03-27 Thread Ian Abbott
As preparation for removal of comedi_fc.h, replace calls to the `cfc_check_trigger_...` functions from comedi_fc.h with the replacement `comedi_check_trigger_...` functions from ../comedidev.h and remove the inclusion of comedi_fc.h. Signed-off-by: Ian Abbott abbo...@mev.co.uk --- drivers

[PATCH 12/60] staging: comedi: addi_apci_1564: remove #include comedi_fc.h

2015-03-27 Thread Ian Abbott
As preparation for removal of comedi_fc.h, replace calls to the `cfc_check_trigger_...` functions from comedi_fc.h with the replacement `comedi_check_trigger_...` functions from ../comedidev.h and remove the inclusion of comedi_fc.h. Signed-off-by: Ian Abbott abbo...@mev.co.uk --- drivers

[PATCH 56/60] staging: comedi: s626: remove #include comedi_fc.h

2015-03-27 Thread Ian Abbott
As preparation for removal of comedi_fc.h, replace calls to the `cfc_check_trigger_...` functions from comedi_fc.h with the replacement `comedi_check_trigger_...` functions from ../comedidev.h and remove the inclusion of comedi_fc.h. Signed-off-by: Ian Abbott abbo...@mev.co.uk --- drivers

[PATCH 55/60] staging: comedi: rtd520: remove #include comedi_fc.h

2015-03-27 Thread Ian Abbott
As preparation for removal of comedi_fc.h, replace calls to the `cfc_check_trigger_...` functions from comedi_fc.h with the replacement `comedi_check_trigger_...` functions from ../comedidev.h and remove the inclusion of comedi_fc.h. Signed-off-by: Ian Abbott abbo...@mev.co.uk --- drivers

[PATCH 38/60] staging: comedi: me4000: remove #include comedi_fc.h

2015-03-27 Thread Ian Abbott
As preparation for removal of comedi_fc.h, replace calls to the `cfc_check_trigger_...` functions from comedi_fc.h with the replacement `comedi_check_trigger_...` functions from ../comedidev.h and remove the inclusion of comedi_fc.h. Signed-off-by: Ian Abbott abbo...@mev.co.uk --- drivers

[PATCH 44/60] staging: comedi: ni_mio_common: remove #include comedi_fc.h

2015-03-27 Thread Ian Abbott
As preparation for removal of comedi_fc.h, replace calls to the `cfc_check_trigger_...` functions from comedi_fc.h with the replacement `comedi_check_trigger_...` functions from ../comedidev.h and remove the inclusion of comedi_fc.h. Signed-off-by: Ian Abbott abbo...@mev.co.uk --- drivers

[PATCH 54/60] staging: comedi: quatech_daqp_cs: remove #include comedi_fc.h

2015-03-27 Thread Ian Abbott
As preparation for removal of comedi_fc.h, replace calls to the `cfc_check_trigger_...` functions from comedi_fc.h with the replacement `comedi_check_trigger_...` functions from ../comedidev.h and remove the inclusion of comedi_fc.h. Signed-off-by: Ian Abbott abbo...@mev.co.uk --- drivers

[PATCH 52/60] staging: comedi: pcmmio: remove #include comedi_fc.h

2015-03-27 Thread Ian Abbott
As preparation for removal of comedi_fc.h, replace calls to the `cfc_check_trigger_...` functions from comedi_fc.h with the replacement `comedi_check_trigger_...` functions from ../comedidev.h and remove the inclusion of comedi_fc.h. Signed-off-by: Ian Abbott abbo...@mev.co.uk --- drivers

[PATCH 57/60] staging: comedi: usbdux: remove #include comedi_fc.h

2015-03-27 Thread Ian Abbott
As preparation for removal of comedi_fc.h, replace calls to the `cfc_check_trigger_...` functions from comedi_fc.h with the replacement `comedi_check_trigger_...` functions from ../comedidev.h and remove the inclusion of comedi_fc.h. Signed-off-by: Ian Abbott abbo...@mev.co.uk --- drivers

[PATCH 24/60] staging: comedi: cb_pcidas64: remove #include comedi_fc.h

2015-03-27 Thread Ian Abbott
As preparation for removal of comedi_fc.h, replace calls to the `cfc_check_trigger_...` functions from comedi_fc.h with the replacement `comedi_check_trigger_...` functions from ../comedidev.h and remove the inclusion of comedi_fc.h. Signed-off-by: Ian Abbott abbo...@mev.co.uk --- drivers

[PATCH 42/60] staging: comedi: ni_atmio16d: remove #include comedi_fc.h

2015-03-27 Thread Ian Abbott
As preparation for removal of comedi_fc.h, replace calls to the `cfc_check_trigger_...` functions from comedi_fc.h with the replacement `comedi_check_trigger_...` functions from ../comedidev.h and remove the inclusion of comedi_fc.h. Signed-off-by: Ian Abbott abbo...@mev.co.uk --- drivers

[PATCH 27/60] staging: comedi: comedi_test: remove #include comedi_fc.h

2015-03-27 Thread Ian Abbott
As preparation for removal of comedi_fc.h, replace calls to the `cfc_check_trigger_...` functions from comedi_fc.h with the replacement `comedi_check_trigger_...` functions from ../comedidev.h and remove the inclusion of comedi_fc.h. Signed-off-by: Ian Abbott abbo...@mev.co.uk --- drivers

<    8   9   10   11   12   13   14   15   16   17   >