[PATCH v6] add support for Freescale's MMA8653FC 10 bit accelerometer

2015-03-27 Thread Martin Kepplinger
From: Martin Kepplinger The MMA8653FC is a low-power, three-axis, capacitive micromachined accelerometer with 10 bits of resolution with flexible user-programmable options. Embedded interrupt functions enable overall power savings, by relieving the host processor from continuously polling data,

Re: [PATCH v6] add support for Freescale's MMA8653FC 10 bit accelerometer

2015-03-27 Thread Dan Carpenter
On Fri, Mar 27, 2015 at 08:38:55AM +0100, Martin Kepplinger wrote: > From: Martin Kepplinger > > The MMA8653FC is a low-power, three-axis, capacitive micromachined > accelerometer with 10 bits of resolution with flexible user-programmable > options. > > Embedded interrupt functions enable overal

[PATCH 2/3] staging: unisys: use error codes

2015-03-27 Thread Sudip Mukherjee
we were just returning -1 to the calling function which was again returning that if the module failed to load. Now we are returning the actual error codes. Signed-off-by: Sudip Mukherjee --- drivers/staging/unisys/visorchipset/file.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletion

[PATCH 1/3] staging: unisys: unregister chardev on error

2015-03-27 Thread Sudip Mukherjee
after registering the major numbers if the cdev_add fails then we were not releasing the major numbers. now we are doing that. Signed-off-by: Sudip Mukherjee --- drivers/staging/unisys/visorchipset/file.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/staging/unis

[PATCH 3/3] staging: unisys: remove forward declaration

2015-03-27 Thread Sudip Mukherjee
rearranged the functions to get rid of the forward declarations. Signed-off-by: Sudip Mukherjee --- drivers/staging/unisys/visorchipset/file.c | 80 ++ 1 file changed, 37 insertions(+), 43 deletions(-) diff --git a/drivers/staging/unisys/visorchipset/file.c b/driver

Re: [PATCH 1/3] staging: unisys: unregister chardev on error

2015-03-27 Thread Greg Kroah-Hartman
On Fri, Mar 27, 2015 at 02:00:57PM +0530, Sudip Mukherjee wrote: > after registering the major numbers if the cdev_add fails then we were > not releasing the major numbers. now we are doing that. > > Signed-off-by: Sudip Mukherjee > --- > drivers/staging/unisys/visorchipset/file.c | 4 +++- > 1

Re: [PATCH 2/3] staging: unisys: use error codes

2015-03-27 Thread Greg Kroah-Hartman
On Fri, Mar 27, 2015 at 02:00:58PM +0530, Sudip Mukherjee wrote: > we were just returning -1 to the calling function which was again > returning that if the module failed to load. Now we are returning the > actual error codes. > > Signed-off-by: Sudip Mukherjee > --- > drivers/staging/unisys/vis

Re: [PATCH v6] add support for Freescale's MMA8653FC 10 bit accelerometer

2015-03-27 Thread Greg KH
On Fri, Mar 27, 2015 at 08:38:55AM +0100, Martin Kepplinger wrote: > From: Martin Kepplinger > > The MMA8653FC is a low-power, three-axis, capacitive micromachined > accelerometer with 10 bits of resolution with flexible user-programmable > options. > > Embedded interrupt functions enable overal

Re: [PATCH] staging: media: lirc: Separate authors into own MODULE_AUTHOR

2015-03-27 Thread Greg KH
On Thu, Mar 26, 2015 at 10:19:30PM +, Boran Car wrote: > Fixes quoted string split accross lines checkpatch.pl warning. > > Signed-off-by: Boran Car > --- > drivers/staging/media/lirc/lirc_zilog.c | 11 --- > 1 file changed, 8 insertions(+), 3 deletions(-) > > diff --git a/drivers/s

Re: [PATCH 2/3] staging: unisys: use error codes

2015-03-27 Thread Sudip Mukherjee
On Fri, Mar 27, 2015 at 09:47:16AM +0100, Greg Kroah-Hartman wrote: > On Fri, Mar 27, 2015 at 02:00:58PM +0530, Sudip Mukherjee wrote: > > } > > rc = cdev_add(&file_cdev, MKDEV(MAJOR(major_dev), 0), 1); > > if (rc < 0) { > > unregister_chrdev_region(major_dev, 1); > > -

[PATCH v2 3/3] staging: unisys: remove forward declaration

2015-03-27 Thread Sudip Mukherjee
rearranged the functions to get rid of the forward declarations. Signed-off-by: Sudip Mukherjee --- v2: removed extra space drivers/staging/unisys/visorchipset/file.c | 80 ++ 1 file changed, 37 insertions(+), 43 deletions(-) diff --git a/drivers/staging/unisys/vis

[PATCH v2 1/3] staging: unisys: unregister chardev on error

2015-03-27 Thread Sudip Mukherjee
after registering the major numbers if the cdev_add fails then we were not releasing the major numbers. now we are doing that. Signed-off-by: Sudip Mukherjee --- v2: removed extra space drivers/staging/unisys/visorchipset/file.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --

[PATCH v2 2/3] staging: unisys: use error codes

2015-03-27 Thread Sudip Mukherjee
we were just returning -1 to the calling function which was again returning that if the module failed to load. Now we are returning the actual error codes. Signed-off-by: Sudip Mukherjee --- v2: removed extra space drivers/staging/unisys/visorchipset/file.c | 12 +++- 1 file changed, 7

RE: [PATCH] hv_vmbus: Add gradually increased delay for retries in vmbus_post_msg()

2015-03-27 Thread Dexuan Cui
> -Original Message- > From: devel [mailto:driverdev-devel-boun...@linuxdriverproject.org] On Behalf > Of Haiyang Zhang > Sent: Thursday, March 26, 2015 6:59 > To: KY Srinivasan > Cc: jasow...@redhat.com; Haiyang Zhang; driverdev- > de...@linuxdriverproject.org; o...@aepfle.de; linux-ker...

RE: [PATCH 0/1] Drivers: hv: hv_balloon: do not online pages in offline blocks

2015-03-27 Thread KY Srinivasan
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Thursday, March 26, 2015 2:40 AM > To: KY Srinivasan > Cc: Haiyang Zhang; de...@linuxdriverproject.org; linux- > ker...@vger.kernel.org; Dexuan Cui > Subject: Re: [PATCH 0/1] Drivers: hv: hv_balloon: do not

[PATCH 0/7] Drivers: hv: Miscellaneous cleanups and bug fixes

2015-03-27 Thread K. Y. Srinivasan
Some miscellaneous cleanup and bug fixes. Dexuan Cui (3): hv: run non-blocking message handlers in the dispatch tasklet hv: don't schedule new works in vmbus_onoffer()/vmbus_onoffer_rescind() hv: remove the per-channel workqueue Haiyang Zhang (1): hv_vmbus: Add gradually increased de

[PATCH 5/7] Drivers: hv: hv_balloon: eliminate jumps in piecewiese linear floor function

2015-03-27 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov Commit 79208c57da53 ("Drivers: hv: hv_balloon: Make adjustments in computing the floor") was inacurate as it introduced a jump in our piecewiese linear 'floor' function: At 2048MB we have: Left limit: 104 + 2048/8 = 360 Right limit: 256 + 2048/16 = 384 (so the right value

[PATCH 1/7] hv: run non-blocking message handlers in the dispatch tasklet

2015-03-27 Thread K. Y. Srinivasan
From: Dexuan Cui A work item in vmbus_connection.work_queue can sleep, waiting for a new host message (usually it is some kind of "completion" message). Currently the new message will be handled in the same workqueue, but since work items in the workqueue is serialized, we actually have no chance

[PATCH 4/7] Drivers: hv: hv_balloon: do not online pages in offline blocks

2015-03-27 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov Currently we add memory in 128Mb blocks but the request from host can be aligned differently. In such case we add a partially backed block and when this block goes online we skip onlining pages which are not backed (hv_online_page() callback serves this purpose). When we re

[PATCH 3/7] hv: remove the per-channel workqueue

2015-03-27 Thread K. Y. Srinivasan
From: Dexuan Cui It's not necessary any longer, since we can safely run the blocking message handlers in vmbus_connection.work_queue now. Signed-off-by: Dexuan Cui Cc: K. Y. Srinivasan Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel_mgmt.c | 30 +- includ

[PATCH 2/7] hv: don't schedule new works in vmbus_onoffer()/vmbus_onoffer_rescind()

2015-03-27 Thread K. Y. Srinivasan
From: Dexuan Cui Since the 2 fucntions can safely run in vmbus_connection.work_queue without hang, we don't need to schedule new work items into the per-channel workqueue. Actally we can even remove the per-channel workqueue now -- we'll do it in the next patch. Signed-off-by: Dexuan Cui Cc: K

[PATCH 7/7] hv_vmbus: Add gradually increased delay for retries in vmbus_post_msg()

2015-03-27 Thread K. Y. Srinivasan
From: Haiyang Zhang Most of the retries can be done within a millisecond successfully, so we sleep 1ms before the first retry, then gradually increase the retry interval to 2^n with max value of 2048ms. Doing so, we will have shorter overall delay time, because most of the cases succeed within 1-

[PATCH 6/7] Drivers: hv: hv_balloon: survive ballooning request with num_pages=0

2015-03-27 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov ... and simplify alloc_balloon_pages() interface by removing redundant alloc_error from it. If we happen to enter balloon_up() with balloon_wrk.num_pages = 0 we will enter infinite 'while (!done)' loop as alloc_balloon_pages() will be always returning 0 and not setting all

[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: comed

[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 --- drivers/

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

2015-03-27 Thread Ian Abbott
`comedi_event()` is called from low-level drivers to handle comedi asynchronous command event flags. Some events cause waiting tasks to be woken up, and a `SIGIO` signal to be sent via `kill_fasync()`. The signal code is `POLL_OUT` if the subdevice supports commands in the "write" direction, or `

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

2015-03-27 Thread Ian Abbott
`comedi_is_subdevice_in_error()` is only used by `comedi_read()` and `comedi_write()` and is only called (soon) after `comedi_is_subdevice_running()` returns `false` (with extra conditions in the case of `comedi_write()`). `comedi_is_subdevice_running()` and `comedi_get_subdevice_runflags()` both

[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/comedi/com

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

2015-03-27 Thread Ian Abbott
`comedi_event()` is called from low-level drivers to handle asynchronous command event flags that are stored in `s->async->events` for subdevice `s`. It normally clears the event flags as well. As a safety check, it does nothing if no asynchronous command is running, but it leaves `s->async->even

[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 index 17ac285..9e49c8a

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

2015-03-27 Thread Ian Abbott
`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 is running. It can also change the run flags to mark the command as no longer running (possibly also ma

[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/staging/comedi/com

[PATCH 1/2] Drivers: hv: hv_balloon: correctly handle val.freeram

2015-03-27 Thread Vitaly Kuznetsov
'Drivers: hv: hv_balloon: refuse to balloon below the floor' fix does not correctly handle the case when val.freeram < num_pages as val.freeram is __kernel_ulong_t and the 'val.freeram - num_pages' value will be a huge positive value instead of being negative. Usually host doesn't ask us to balloo

[PATCH 2/2] Drivers: hv: hv_balloon: correctly handle num_pages>INT_MAX case

2015-03-27 Thread Vitaly Kuznetsov
balloon_wrk.num_pages is __u32 and it comes from host in struct dm_balloon where it is also __u32. We, however, use 'int' in balloon_up() and in case we happen to receive num_pages>INT_MAX request we'll end up allocating zero pages as 'num_pages < alloc_unit' check in alloc_balloon_pages() will pas

[PATCH 0/2] Drivers: hv: hv_balloon: two additional corner cases in balloon_up()

2015-03-27 Thread Vitaly Kuznetsov
PATCH 1/2 addresses a real issue introduced by the 'Drivers: hv: hv_balloon: refuse to balloon below the floor' fix, PATCH 2/2 addresses a currently impossible issue (as Hyper-V host never asks to balloon more than INT_MAX pages) and is rather a cleanup. The patch is supposed to be applied on top

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

2015-03-27 Thread Ian Abbott
"comedi_fc.h" contains a few inline functions used by the `do_cmdtest` handler functions for comedi subdevices in several low-level comedi drivers for checking asynchronous command trigger sources and arguments. They all use the prefix `cfc_check_trigger_arg`. Copy them over to "../comedidev.h", b

[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: Ian Abbott --- drivers/staging/comedi/d

[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/addi_apci_1516.c index c3

[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 index 1e232b1..30c9e27 10064

[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: Ian Abbott --- drivers/staging/comedi/d

[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_das16_cs.c index 9abc2c7..ae84f

[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: remo

[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/addi_apci_3501.c index 08

[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 100644 --- a/drivers/stag

[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: Ian Abbott --- drivers/staging/comedi/d

[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: Ian Abbott --- drivers/staging/comedi/d

[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 100644 --- a/drivers/stag

[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: Ian Abbott --- drivers/staging/comedi/d

[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 --- .../staging/comedi/drive

[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/drivers/ni_labpc_isadma.c inde

[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: Ian Abbott --- drivers/staging/comedi/d

[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 --- drivers/staging/comedi/d

[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 b913158..46647c6 100644 --- a/

[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: Ian Abbott --- drivers/staging/comedi/d

[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: Ian Abbott --- drivers/staging/comedi/d

[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: Ian Abbott --- drivers/staging/comedi/d

[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: Ian Abbott --- drivers/staging/comedi/d

[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: Ian Abbott --- drivers/staging/comedi/d

[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 --- drivers/staging/comedi/d

[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 --- drivers/staging/comedi/d

[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-by: Ian Abbott --- .../staging/comedi/drive

[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 --- drivers/staging/comedi/d

[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: Ian Abbott --- drivers/staging/comedi/d

[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: Ian Abbott --- drivers/staging/comedi/d

[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: Ian Abbott --- drivers/staging/comedi/d

[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: Ian Abbott --- drivers/staging/comedi/d

[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 --- drivers/staging/comedi/d

[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: Ian Abbott --- drivers/staging/comedi/d

[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: Ian Abbott --- drivers/staging/comedi/d

[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 --- drivers/staging/comedi/d

[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: Ian Abbott --- drivers/staging/comedi/d

[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: Ian Abbott --- drivers/staging/comedi/d

[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: Ian Abbott --- drivers/staging/comedi/d

[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: Ian Abbott --- drivers/staging/comedi/d

[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 --- drivers/staging/comedi/d

[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 --- drivers/staging/comedi/d

[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: Ian Abbott --- drivers/staging/comedi/d

[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_fc.h diff

[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: Ian Abbott --- drivers/staging/comedi/d

[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 --- drivers/staging/comedi/d

[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: Ian Abbott --- drivers/staging/comedi/d

[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: Ian Abbott --- drivers/staging/comedi/d

[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: Ian Abbott --- drivers/staging/comedi/d

[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: Ian Abbott --- drivers/staging/comedi/d

[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: Ian Abbott --- drivers/staging/comedi/d

[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 --- drivers/staging/comedi/d

[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: Ian Abbott --- drivers/staging/comedi/d

[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: Ian Abbott --- drivers/staging/comedi/d

[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 --- drivers/staging/comedi/d

[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 --- drivers/staging/comedi/d

[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 --- drivers/staging/comedi/d

[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 --- drivers/staging/comedi/d

[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 --- drivers/staging/comedi/d

[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: Ian Abbott --- drivers/staging/comedi/d

[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: Ian Abbott --- drivers/staging/comedi/d

[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: Ian Abbott --- drivers/staging/comedi/d

[PATCH] drivers: staging: speakup: fix sparse "warning: expression using sizeof bool"

2015-03-27 Thread Witos
Changed bool to u8. Signed-off-by: Piotr Witoslawski --- drivers/staging/speakup/fakekey.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/speakup/fakekey.c b/drivers/staging/speakup/fakekey.c index 4299cf4..3dfb6bd 100644 --- a/drivers/staging/speakup/fakeke

[PATCH] drivers: staging: speakup: fix sparse "warning: expression using sizeof bool"

2015-03-27 Thread Witos
Changed bool to u8 to get rid of sparse warning. Signed-off-by: Piotr Witoslawski --- drivers/staging/speakup/fakekey.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/speakup/fakekey.c b/drivers/staging/speakup/fakekey.c index 4299cf4..3dfb6bd 100644 --- a/d

[PATCH 4/6] staging: fsl-mc: Fix crash in fsl_mc_device_remove()

2015-03-27 Thread J. German Rivera
Only call fsl_mc_io_destroy() if the DPRC being removed actually had an mc_io object associated with. Child DPRCs that have not been bound to the DPRC driver or the VFIO driver will not have an mc_io associated with them. Signed-off-by: J. German Rivera --- drivers/staging/fsl-mc/bus/dprc-driver

[PATCH 2/6] staging: fsl-mc: Removed reordering of MC objects during bus scan

2015-03-27 Thread J. German Rivera
MC objects discovered during an MC bus scan were being reordered to ensure that all allocatable objects are probed before all non-allocatable objects. However, this is not necessary, as drivers of non-allocatable objects, that allocate allocatable objects in their probe function, can return -EPROBE

  1   2   >