Re: [GIT PULL] Staging driver patches for 3.17-rc1

2014-08-04 Thread Greg KH
On Tue, Aug 05, 2014 at 06:13:25AM +0200, Andreas Mohr wrote: > > Lots of things in here, over 2000 patches, but the best part is this: > > 1480 files changed, 39070 insertions(+), 254659 deletions(-) > > > > Thanks to the great work of Kristina Martšenko, 14 different staging > > drivers have bee

Re: [GIT PULL] Staging driver patches for 3.17-rc1

2014-08-04 Thread Andreas Mohr
> Lots of things in here, over 2000 patches, but the best part is this: > 1480 files changed, 39070 insertions(+), 254659 deletions(-) > > Thanks to the great work of Kristina Martšenko, 14 different staging > drivers have been removed from the tree as they were obsolete and no > one > was willing

Re: [PATCH v2 8/8] staging: iio: accel: sca3000_core.c: Add blank line between declarations and code

2014-08-04 Thread Joe Perches
On Mon, 2014-08-04 at 22:47 -0300, Murilo Opsfelder Araujo wrote: > This patch adds missing blank line between declarations and code, and > adjust code to fit 80-chars limit. [] > diff --git a/drivers/staging/iio/accel/sca3000_core.c > b/drivers/staging/iio/accel/sca3000_core.c [] > @@ -506,7 +506

[PATCH v2 8/8] staging: iio: accel: sca3000_core.c: Add blank line between declarations and code

2014-08-04 Thread Murilo Opsfelder Araujo
This patch adds missing blank line between declarations and code, and ajust code to fit 80-chars limit. Signed-off-by: Murilo Opsfelder Araujo --- drivers/staging/iio/accel/sca3000_core.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/staging/iio/accel/sca3000_cor

[PATCH v2 6/8] staging: iio: accel: lis3l02dq_core.c: Add blank lines between declarations and code

2014-08-04 Thread Murilo Opsfelder Araujo
This patch adds missing blank line between declarations and code, satisfying checkpatch.pl. Signed-off-by: Murilo Opsfelder Araujo --- drivers/staging/iio/accel/lis3l02dq_core.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/staging/iio/accel/lis3l02dq_core.c b/drivers/staging/

[PATCH v2 7/8] staging: iio: accel: lis3l02dq_ring.c: Add blank line between declarations and code

2014-08-04 Thread Murilo Opsfelder Araujo
This patch adds missing blank line between declarations and code, satisfying checkpatch.pl. Signed-off-by: Murilo Opsfelder Araujo --- drivers/staging/iio/accel/lis3l02dq_ring.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/iio/accel/lis3l02dq_ring.c b/drivers/staging/iio/

[PATCH v2 2/8] staging: iio: accel: adis16201_core.c: Add blank line between declarations and code

2014-08-04 Thread Murilo Opsfelder Araujo
This patch adds missing blank line between declarations and code, and also fixes lines starting by space, satisfying checkpatch.pl. Signed-off-by: Murilo Opsfelder Araujo --- drivers/staging/iio/accel/adis16201_core.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drive

[PATCH v2 4/8] staging: iio: accel: adis16209_core.c: Add blank line between declarations and code

2014-08-04 Thread Murilo Opsfelder Araujo
This patch adds missing blank line between declarations and code, satisfying checkpatch.pl. Signed-off-by: Murilo Opsfelder Araujo --- drivers/staging/iio/accel/adis16209_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/iio/accel/adis16209_core.c b/drivers/staging/iio/

[PATCH v2 5/8] staging: iio: accel: adis16240_core.c: Add blank line between declarations and code

2014-08-04 Thread Murilo Opsfelder Araujo
This patch adds missing blank line between declarations and code, satisfying checkpatch.pl. Signed-off-by: Murilo Opsfelder Araujo --- drivers/staging/iio/accel/adis16240_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/iio/accel/adis16240_core.c b/drivers/staging/iio/

[PATCH v2 0/8] staging: iio: accel: Multiple coding style fixes

2014-08-04 Thread Murilo Opsfelder Araujo
The following patches fix almost all warnings reported by checkpatch.pl. Changes from v1: - Updated commit messages to better reflect changes. Murilo Opsfelder Araujo (8): staging: iio: accel: adis16203_core.c: Add blank lines between declarations and code staging: iio: accel: adis16201_c

[PATCH v2 3/8] staging: iio: accel: adis16204_core.c: Add blank line between declarations and code

2014-08-04 Thread Murilo Opsfelder Araujo
This patch adds missing blank line between declarations and code, satisfying checkpatch.pl. Signed-off-by: Murilo Opsfelder Araujo --- drivers/staging/iio/accel/adis16204_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/iio/accel/adis16204_core.c b/drivers/staging/iio/

[PATCH v2 1/8] staging: iio: accel: adis16203_core.c: Add blank lines between declarations and code

2014-08-04 Thread Murilo Opsfelder Araujo
This patch adds missing blank lines between declarations and code, satisfying checkpatch.pl. Signed-off-by: Murilo Opsfelder Araujo --- drivers/staging/iio/accel/adis16203_core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/iio/accel/adis16203_core.c b/drivers/staging/i

Re: [PATCH V2] staging: dgap: introduce dgap_cleanup_nodes()

2014-08-04 Thread DaeSeok Youn
2014-08-05 8:38 GMT+09:00 Greg KH : > On Tue, Aug 05, 2014 at 08:33:16AM +0900, DaeSeok Youn wrote: >> Hi, Mark and Greg. >> >> Thanks for testing. :-) >> >> Greg, is this patch possible to merge to your staging tree? >> Please check for me. >> patch : https://lkml.org/lkml/2014/7/31/2 > > It's the

Re: [PATCH V2] staging: dgap: introduce dgap_cleanup_nodes()

2014-08-04 Thread Greg KH
On Tue, Aug 05, 2014 at 08:33:16AM +0900, DaeSeok Youn wrote: > Hi, Mark and Greg. > > Thanks for testing. :-) > > Greg, is this patch possible to merge to your staging tree? > Please check for me. > patch : https://lkml.org/lkml/2014/7/31/2 It's the middle of the merge window, I can't do anythi

Re: [PATCH V2] staging: dgap: introduce dgap_cleanup_nodes()

2014-08-04 Thread DaeSeok Youn
Hi, Mark and Greg. Thanks for testing. :-) Greg, is this patch possible to merge to your staging tree? Please check for me. patch : https://lkml.org/lkml/2014/7/31/2 Thanks. regards, Daeseok Youn. 2014-08-04 21:40 GMT+09:00 Mark Hounschell : > On 07/31/2014 07:14 PM, DaeSeok Youn wrote: >> >>

RE: [PATCH net-next] hyperv: Increase the buffer length for netvsc_channel_cb()

2014-08-04 Thread Haiyang Zhang
> -Original Message- > From: David Miller [mailto:da...@davemloft.net] > Sent: Monday, August 4, 2014 6:09 PM > To: Haiyang Zhang > Cc: net...@vger.kernel.org; KY Srinivasan; o...@aepfle.de; > jasow...@redhat.com; linux-ker...@vger.kernel.org; driverdev- > de...@linuxdriverproject.org > S

[PATCH 07/16] staging: comedi: icp_multi: use comedi_pci_detach()

2014-08-04 Thread H Hartley Sweeten
Use comedi_pci_detach() to handle the boilerplate part of the (*detach) for this PCI driver. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/icp_multi.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/st

[PATCH 12/16] staging: comedi: cb_pcidas64: tidy up freeing of the dma buffers

2014-08-04 Thread H Hartley Sweeten
Factor the freeing of the dma buffers out of the (*detach). Move the freeing of the buffers so that it occurs after the PCI device has been disabled to avoid any race condition. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/cb_pcidas

[PATCH 08/16] staging: comedi: daqboard2000: driver does not request_irq()

2014-08-04 Thread H Hartley Sweeten
This driver does not use interrupts so it does not need to free_irq() during the (*detach). Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/daqboard2000.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/comedi/drive

[PATCH 04/16] staging: comedi: amplc_dio200: remove dio200_detach()

2014-08-04 Thread H Hartley Sweeten
This exported function only does a free_irq() for the dio200 legacy and PCI drivers. The ISA driver also calls comedi_legacy_detach() which would also do the free_irq(). Remove the exported function and use comedi_legacy_detach() directly in the legacy driver for the (*detach). Add the free_irq()

[PATCH 01/16] staging: comedi: comedi_pci: introduce comedi_pci_detach()

2014-08-04 Thread H Hartley Sweeten
Introduce a generic (*detach) function for comedi PCI drivers to handle the boilerplate code needed to detach a PCI driver. This function works similar to comedi_legacy_detach() where it will: * free the dev->irq if it has been requested * iounmap the dev->mmio addres if it has been ioremap'e

[PATCH 13/16] staging: comedi: cb_pcidas64: use comedi_pci_detach()

2014-08-04 Thread H Hartley Sweeten
Use comedi_pci_detach() to handle the boilerplate part of the (*detach) for this PCI driver. This also fixes a race condition where the interrupt handler is released before the interrupts are disabled in the hardware. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman ---

[PATCH 16/16] staging: comedi: rtd520: use comedi_pci_detach()

2014-08-04 Thread H Hartley Sweeten
Use comedi_pci_detach() to handle the boilerplate part of the (*detach) for this PCI driver. Remove the unnecessary read/write of the PLC_INTRCS_REG. The rtd_reset() function writes '0' to this register. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/stagin

[PATCH 00/16] staging: comedi: cleanup PCI driver detach

2014-08-04 Thread H Hartley Sweeten
Introduce a new helper function, comedi_pci_detach(), that can be used as the (*detach) of a comedi PCI driver to handle the boilerplate code of the PCI driver detach. Use the the new helper to remove the boilerplate from most of the comedi PCI drivers. The jr3_pci and mite drivers (ni_660x, ni_p

[PATCH 02/16] staging: comedi: adv_pci_dio: remove 'valid' member from private data

2014-08-04 Thread H Hartley Sweeten
This member is set at the end of the driver attach and is only used to verify that pci_dio_reset() can be called in the (*detach). The only requirement for pci_dio_reset() to work is that the dev->iobase is valid. Remove the 'valid' member from the private data and use 'dev->iobase' to see if the

[PATCH 15/16] staging: comedi: gsc_hpdi: use comedi_pci_detach()

2014-08-04 Thread H Hartley Sweeten
Use comedi_pci_detach() to handle the boilerplate part of the (*detach) for this PCI driver. This also fixes a race condition where the interrupt handler is released before the interrupts are disabled in the hardware. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman ---

[PATCH 05/16] staging: comedi: amplc_dio200_pci: use comedi_pci_detach()

2014-08-04 Thread H Hartley Sweeten
Use comedi_pci_detach() to handle the boilerplate (*detach) of this PCI driver. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/amplc_dio200_pci.c | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/drivers/s

[PATCH 11/16] staging: comedi: s626: use comedi_pci_detach()

2014-08-04 Thread H Hartley Sweeten
Use comedi_pci_detach() to handle the boilerplate part of the (*detach) for this PCI driver. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/s626.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/stagin

[PATCH 09/16] staging: comedi: daqboard2000: use comedi_pci_detach()

2014-08-04 Thread H Hartley Sweeten
Use comedi_pci_detach() to handle the boilerplate part of the (*detach) for this PCI driver. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/daqboard2000.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/d

[PATCH 10/16] staging: comedi: s626: tidy up freeing of the dma buffers

2014-08-04 Thread H Hartley Sweeten
Currently the dma buffers are freed during the detach of the driver using the function s626_close_dma_b(). The buffers are also freed while the interrupt handler is still attached. This could result in a race condition. Refactor the code so that the buffers are freed after the interrupt handler is

[PATCH 06/16] staging: comedi: icp_multi: remove 'valid' member from private data

2014-08-04 Thread H Hartley Sweeten
This member is set at the end of the driver attach and is only used to verify that icp_multi_reset() can be called in the (*detach). The only requirement for icp_multi_reset() to work is that the dev->mmio is valid. Remove the 'valid' member from the private data and use 'dev->mmio' to see if the

[PATCH 14/16] staging: comedi: gsc_hpdi: tidy up freeing of the dma buffers

2014-08-04 Thread H Hartley Sweeten
Factor the freeing of the dma buffers out of the (*detach). Move the freeing of the buffers so that it occurs after the PCI device has been disabled to avoid any race condition. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/gsc_hpdi.

[PATCH 03/16] staging: comedi: adv_pci_dio: use comedi_pci_detach()

2014-08-04 Thread H Hartley Sweeten
For aesthetics, use comedi_pci_detach() instead of comedi_pci_disable(). Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/adv_pci_dio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/ad

Re: [PATCH] Staging: rtl8188eu: Lines over 80 characters fixed.

2014-08-04 Thread Joe Perches
On Tue, 2014-08-05 at 00:45 +0200, Adrian Remonda wrote: > This is a patch to the hal/rtl8188eu_recv.c file that fixes up a "line > over 80 characters" warning found by the checkpatch.pl tool. [] > diff --git a/drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c > b/drivers/staging/rtl8188eu/hal/rtl818

[PATCH] Staging: rtl8188eu: Lines over 80 characters fixed.

2014-08-04 Thread Adrian Remonda
This is a patch to the hal/rtl8188eu_recv.c file that fixes up a "line over 80 characters" warning found by the checkpatch.pl tool. Signed-off-by: Adrian Remonda --- drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c | 28 +- 1 file changed, 18 insertions(+), 10 deletions(-)

[PATCH] Staging: rtl8188eu: Missing a blank line after declarations.

2014-08-04 Thread Adrian Remonda
This is a patch to the rtl8188e_xmit.c file that fixes up a missing blank line warning found by the checkpatch.pl tool. Signed-off-by: Adrian Remonda --- drivers/staging/rtl8188eu/hal/rtl8188e_xmit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_xmit.

Re: [PATCH net-next] hyperv: Increase the buffer length for netvsc_channel_cb()

2014-08-04 Thread David Miller
From: Haiyang Zhang Date: Mon, 4 Aug 2014 12:33:45 -0700 > When the buffer is too small for a packet from VMBus, a bigger buffer will be > allocated in netvsc_channel_cb() and retry reading the packet from VMBus. > Increasing this buffer size will reduce the retry overhead. > > Signed-off-by: H

Re: [PATCH 1/1 V2] Drivers: net-next: hyperv: Increase the size of the sendbuf region

2014-08-04 Thread David Miller
From: "K. Y. Srinivasan" Date: Sat, 2 Aug 2014 10:42:02 -0700 > Intel did some benchmarking on our network throughput when Linux on Hyper-V > is as used as a gateway. This fix gave us almost a 1 Gbps additional > throughput > on about 5Gbps base throughput we hadi, prior to increasing the sendb

[PATCH] staging: slicoss: fix a blank line coding style issue

2014-08-04 Thread Quentin Lambert
Add 2 missing blank lines after declaration. Signed-off-by: Quentin Lambert --- drivers/staging/slicoss/slicoss.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/slicoss.c index b6227fb..cbeac3e 100644 --- a/drivers/staging/slico

[PATCH] staging: imx-drm: fix a blank line coding style issue

2014-08-04 Thread Quentin Lambert
Add missing blank lines after declaration. Signed-off-by: Quentin Lambert --- drivers/staging/imx-drm/imx-drm-core.c | 2 ++ drivers/staging/imx-drm/imx-tve.c | 2 ++ drivers/staging/imx-drm/parallel-display.c | 2 ++ 3 files changed, 6 insertions(+) diff --git a/drivers/staging/im

Re: [PATCH] staging: comedi: comedi_pci: enhance comedi_pci_disable()

2014-08-04 Thread Ian Abbott
On 04/08/14 18:27, Hartley Sweeten wrote: On Monday, August 04, 2014 3:49 AM, Ian Abbott [mailto:abbo...@mev.co.uk] wrote: diff --git a/drivers/staging/comedi/drivers/addi_apci_2032.c b/drivers/staging/comedi/drivers/addi_apci_2032.c index be0a8a7..d35998d 100644 --- a/drivers/staging/comedi/dr

Re: [PATCH 15/15] staging: comedi: amplc_dio200_common: use 8255 module

2014-08-04 Thread Ian Abbott
On 04/08/14 17:53, Hartley Sweeten wrote: On Monday, August 04, 2014 6:05 AM, Ian Abbott wrote: On 2014-08-01 22:18, H Hartley Sweeten wrote: This driver currently duplicates the functionality of the 8255 module. The only difference is in how the i/o access is handled. Provide a private (*io)

[PATCH net-next] hyperv: Increase the buffer length for netvsc_channel_cb()

2014-08-04 Thread Haiyang Zhang
When the buffer is too small for a packet from VMBus, a bigger buffer will be allocated in netvsc_channel_cb() and retry reading the packet from VMBus. Increasing this buffer size will reduce the retry overhead. Signed-off-by: Haiyang Zhang Reviewed-by: Dexuan Cui --- drivers/net/hyperv/hyperv_

RE: [PATCH] staging: comedi: comedi_pci: enhance comedi_pci_disable()

2014-08-04 Thread Hartley Sweeten
On Monday, August 04, 2014 3:49 AM, Ian Abbott [mailto:abbo...@mev.co.uk] wrote: >> diff --git a/drivers/staging/comedi/drivers/addi_apci_2032.c >> b/drivers/staging/comedi/drivers/addi_apci_2032.c >> index be0a8a7..d35998d 100644 >> --- a/drivers/staging/comedi/drivers/addi_apci_2032.c >> +++ b/d

RE: [PATCH 13/15] staging: comedi: 8255: make default (*io) function handle memory mapped io

2014-08-04 Thread Hartley Sweeten
On Monday, August 04, 2014 5:53 AM, Ian Abbott wrote: > On 2014-08-01 22:18, H Hartley Sweeten wrote: >> The drivers that use this module with memory mapped io all have the >> ioremap'ed base address stored in the comedi_device 'mmio' member. >> >> Modify subdev_8255_io() to handle the memory mappe

RE: [PATCH 15/15] staging: comedi: amplc_dio200_common: use 8255 module

2014-08-04 Thread Hartley Sweeten
On Monday, August 04, 2014 6:05 AM, Ian Abbott wrote: > On 2014-08-01 22:18, H Hartley Sweeten wrote: >> This driver currently duplicates the functionality of the 8255 module. >> The only difference is in how the i/o access is handled. >> >> Provide a private (*io) callback for the 8255 module to h

RE: [PATCH 15/18 v2] staging: comedi: amplc_pci224: put board indices in PCI driver_data

2014-08-04 Thread Hartley Sweeten
On Monday, August 04, 2014 4:14 AM, Ian Abbott wrote: > The `driver_data` member value from the matched entry of the PCI module > device table `amplc_pci224_pci_table[]` is passed through to our comedi > "auto_attach" handler, `pci224_auto_attach()`. Use that to index > directly into our static bo

RE: [PATCH] staging: comedi: comedi_pci: enhance comedi_pci_disable()

2014-08-04 Thread Hartley Sweeten
On Monday, August 04, 2014 3:49 AM. Ian Abbott wrote: > On 2014-08-01 20:50, H Hartley Sweeten wrote: > [snip] >> diff --git a/drivers/staging/comedi/comedidev.h >> b/drivers/staging/comedi/comedidev.h >> index 58e58a3..73e5fd3 100644 >> --- a/drivers/staging/comedi/comedidev.h >> +++ b/drivers/st

Re: [PATCH 00/15] staging: comedi: 8255: tidy up the (*io) operations

2014-08-04 Thread Ian Abbott
On 2014-08-01 22:18, H Hartley Sweeten wrote: Now that the comedi_device has a 'mmio' and a 'iobase' member, this module can detect if the (*io) operations need to use readb/writeb for memory mapped I/O or inb/outb for port I/O. This can be use to cleanup a lot of the code duplication in the driv

Re: [PATCH 15/15] staging: comedi: amplc_dio200_common: use 8255 module

2014-08-04 Thread Ian Abbott
On 2014-08-01 22:18, H Hartley Sweeten wrote: This driver currently duplicates the functionality of the 8255 module. The only difference is in how the i/o access is handled. Provide a private (*io) callback for the 8255 module to handle the differences. We can then use that module and initialize

[PATCH 10/10] staging: ozwpan: Use list helpers

2014-08-04 Thread Christoph Jaeger
Make use of the various list helper functions to improve readability. Signed-off-by: Christoph Jaeger --- drivers/staging/ozwpan/ozeltbuf.c | 60 +++-- drivers/staging/ozwpan/ozhcd.c| 96 +++--- drivers/staging/ozwpan/ozpd.c | 106 +++

[PATCH 06/10] staging: ozwpan: Simplify app interface

2014-08-04 Thread Christoph Jaeger
Simplify the somewhat overcomplicated application interface; improves readability and saves a bunch of lines. Use designated struct initializers for clarity. Signed-off-by: Christoph Jaeger --- drivers/staging/ozwpan/ozcdev.c | 30 +++ drivers/staging/ozwpan/ozpd.c | 151

[PATCH 03/10] staging: ozwpan: Remove unused OZ_MAX_TIMER_POOL_SIZE

2014-08-04 Thread Christoph Jaeger
OZ_MAX_TIMER_POOL_SIZE is not used anywhere; remove it. Signed-off-by: Christoph Jaeger --- drivers/staging/ozwpan/ozproto.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/ozwpan/ozproto.c b/drivers/staging/ozwpan/ozproto.c index 1102055..4aebe16 100644 --- a/drivers/stagin

[PATCH 05/10] staging: ozwpan: Remove dead code

2014-08-04 Thread Christoph Jaeger
No need to return a value from elt_buf_init(). Signed-off-by: Christoph Jaeger --- drivers/staging/ozwpan/ozeltbuf.c | 3 +-- drivers/staging/ozwpan/ozeltbuf.h | 2 +- drivers/staging/ozwpan/ozpd.c | 5 + 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/staging/ozwp

[PATCH 08/10] staging: ozwpan: Use slab cache for oz_elt_info allocation

2014-08-04 Thread Christoph Jaeger
Use a slab cache rather than rolling our own free list. Signed-off-by: Christoph Jaeger --- drivers/staging/ozwpan/ozeltbuf.c | 70 +++ drivers/staging/ozwpan/ozeltbuf.h | 5 --- drivers/staging/ozwpan/ozpd.c | 2 -- drivers/staging/ozwpan/ozpd.h |

[PATCH 09/10] staging: ozwpan: Use slab cache for oz_tx_frame allocation

2014-08-04 Thread Christoph Jaeger
Use a slab cache rather than rolling our own free list. Signed-off-by: Christoph Jaeger --- drivers/staging/ozwpan/ozpd.c| 43 +++- drivers/staging/ozwpan/ozpd.h| 3 +-- drivers/staging/ozwpan/ozproto.c | 8 drivers/staging/ozwpan/ozproto.h

[PATCH 07/10] staging: ozwpan: Use slab cache for oz_urb_link allocation

2014-08-04 Thread Christoph Jaeger
Use a slab cache rather than rolling our own free list. Signed-off-by: Christoph Jaeger --- drivers/staging/ozwpan/ozhcd.c | 70 -- 1 file changed, 12 insertions(+), 58 deletions(-) diff --git a/drivers/staging/ozwpan/ozhcd.c b/drivers/staging/ozwpan/ozhc

[PATCH 04/10] staging: ozwpan: Remove redundant initialization

2014-08-04 Thread Christoph Jaeger
Member 'ops' has already been initialized by calling cdev_init(). Signed-off-by: Christoph Jaeger --- drivers/staging/ozwpan/ozcdev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/ozwpan/ozcdev.c b/drivers/staging/ozwpan/ozcdev.c index 10c0a96..f82e12c 100644 --- a/drivers/s

[PATCH 01/10] staging: ozwpan: Add module parameter description

2014-08-04 Thread Christoph Jaeger
Signed-off-by: Christoph Jaeger --- drivers/staging/ozwpan/ozmain.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/staging/ozwpan/ozmain.c b/drivers/staging/ozwpan/ozmain.c index d1a5b7a..7d6ef4c 100644 --- a/drivers/staging/ozwpan/ozmain.c +++ b/drivers/staging/oz

[PATCH 02/10] staging: ozwpan: Fix typo in typedef

2014-08-04 Thread Christoph Jaeger
Signed-off-by: Christoph Jaeger --- drivers/staging/ozwpan/ozproto.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/ozwpan/ozproto.h b/drivers/staging/ozwpan/ozproto.h index cb38e02..378b737 100644 --- a/drivers/staging/ozwpan/ozproto.h +++ b/drivers/stagi

[PATCH 00/10] staging: Clean up ozwpan driver

2014-08-04 Thread Christoph Jaeger
This patch set does some cleanup; no functional change. Christoph Jaeger (10): staging: ozwpan: Add module parameter description staging: ozwpan: Fix typo in typedef staging: ozwpan: Remove unused OZ_MAX_TIMER_POOL_SIZE staging: ozwpan: Remove redundant initialization staging: ozwpan: Re

Re: [PATCH 13/15] staging: comedi: 8255: make default (*io) function handle memory mapped io

2014-08-04 Thread Ian Abbott
On 2014-08-01 22:18, H Hartley Sweeten wrote: The drivers that use this module with memory mapped io all have the ioremap'ed base address stored in the comedi_device 'mmio' member. Modify subdev_8255_io() to handle the memory mapped io. This allows removing the private callbacks from some of the

Re: [PATCH V2] staging: dgap: introduce dgap_cleanup_nodes()

2014-08-04 Thread Mark Hounschell
On 07/31/2014 07:14 PM, DaeSeok Youn wrote: Hi, Mark 2014-07-31 21:44 GMT+09:00 Mark Hounschell : On 07/31/2014 12:02 AM, Daeseok Youn wrote: When a configration file is parsed with dgap_parsefile(), makes nodes for saving configrations for board. Making a node will allocate node memory and

Re: [PATCH 08/15] staging: comedi: ni_labpc: tidy up daqboard2000_8255_cb()

2014-08-04 Thread Ian Abbott
On 2014-08-01 22:18, H Hartley Sweeten wrote: The 8255 driver (*io) callback now includes the comedi_device pointer. Using this we can get the ioremap'ed base address. Instead of passing the (cast) mmio address to subdev_8255_init(), pass the 'iobase' of the 8255 registers (dioP2ExpansionIO8Bit)

Re: [PATCH 00/13] staging: comedi: amplc_dio200: additional cleanup

2014-08-04 Thread Ian Abbott
On 2014-08-01 21:06, H Hartley Sweeten wrote: Remove some cruft leftover from when this driver was a single module that include support for both the ISA and PCI boards. Do a bit of additional cleanup. H Hartley Sweeten (13): staging: comedi: amplc_dio200: remove private data staging: come

Re: [PATCH 11/13] staging: comedi: amplc_dio200.h: rename 'has_enhancements' in boardinfo

2014-08-04 Thread Ian Abbott
On 2014-08-01 21:07, H Hartley Sweeten wrote: This member of the boardinfor is only set for the PCIE boards. For aeshetics, rename it to 'is_pcie'. For clarity, use this flag in the (*auto_attach) to determine if the dio200_pcie_board_setup() function needs to be called instead of using the swit

[PATCH 15/18 v2] staging: comedi: amplc_pci224: put board indices in PCI driver_data

2014-08-04 Thread Ian Abbott
The `driver_data` member value from the matched entry of the PCI module device table `amplc_pci224_pci_table[]` is passed through to our comedi "auto_attach" handler, `pci224_auto_attach()`. Use that to index directly into our static board data array `pci224_boards[]` instead of calling `pci224_fi

[PATCHv3] staging: media: as102: replace custom dprintk() with dev_dbg()

2014-08-04 Thread Martin Kepplinger
remove dprintk() and replace it with dev_dbg() or pr_debug() in order to use the common kernel coding style. Signed-off-by: Martin Kepplinger --- Thanks for looking at it. So this doesn't add anything and actually does what it says. If I haven't understood what you meant, or if I should try to ad

Re: [PATCHv2] staging: media: as102: replace custom dprintk() with dev_dbg()

2014-08-04 Thread Joe Perches
On Mon, 2014-08-04 at 13:40 +0300, Dan Carpenter wrote: > On Mon, Aug 04, 2014 at 12:17:14PM +0200, Martin Kepplinger wrote: [] > > + if (dev) { > > + dev_dbg(&dev->bus_adap.usb_dev->dev, > > + "tuner parameters: freq: %d bw: 0x%02x gi: 0x%02x\n", > > + par

Re: [PATCH 00/18] staging: comedi: amplc_pci224: remove legacy stuff

2014-08-04 Thread Ian Abbott
On 2014-07-31 21:28, Hartley Sweeten wrote: On Thursday, July 31, 2014 6:48 AM, Ian Abbott wrote: The "amplc_pci224" driver retains a "legacy" attach mechanism via the `COMEDI_DEVCONFIG` ioctl and the comedi driver "attach" hook, but usually attaches PCI devices automatically via the comedi driv

Re: [PATCH] staging: comedi: comedi_pci: enhance comedi_pci_disable()

2014-08-04 Thread Ian Abbott
On 2014-08-01 20:50, H Hartley Sweeten wrote: [snip] diff --git a/drivers/staging/comedi/comedidev.h b/drivers/staging/comedi/comedidev.h index 58e58a3..73e5fd3 100644 --- a/drivers/staging/comedi/comedidev.h +++ b/drivers/staging/comedi/comedidev.h @@ -502,7 +502,7 @@ struct pci_driver; struc

Re: [PATCHv2] staging: media: as102: replace custom dprintk() with dev_dbg()

2014-08-04 Thread Dan Carpenter
On thinking about it some more the proper way to redo this would have been to remove the bogus check. Also a couple trivial things below. On Mon, Aug 04, 2014 at 12:17:14PM +0200, Martin Kepplinger wrote: > @@ -82,10 +83,17 @@ static int as102_fe_get_tune_settings(struct dvb_frontend > *fe, >

[PATCHv2] staging: media: as102: replace custom dprintk() with dev_dbg()

2014-08-04 Thread Martin Kepplinger
remove dprintk() and replace it with dev_dbg() in order to use the common kernel coding style. Signed-off-by: Martin Kepplinger --- Thanks Dan. And since it continues to succeed if (dev == NULL), differntiate if (dev) or not. drivers/staging/media/as102/as102_drv.c | 15 +++--- drivers/st

Re: [PATCH] HID: hyperv: register as a wakeup source

2014-08-04 Thread Jiri Kosina
On Fri, 1 Aug 2014, Dexuan Cui wrote: > With this patch, we can move the mouse to wake up the VM after the VM executes > "echo freeze > /sys/power/state". > > This addresses part of https://bugzilla.redhat.com/show_bug.cgi?id=1086100 > > Cc: K. Y. Srinivasan > Signed-off-by: Dexuan Cui Applie

Re: [PATCH] staging: media: as102: replace custom dprintk() with dev_dbg()

2014-08-04 Thread Dan Carpenter
On Sun, Aug 03, 2014 at 04:54:21PM +0200, Martin Kepplinger wrote: > @@ -447,6 +457,13 @@ static uint8_t as102_fe_get_code_rate(fe_code_rate_t arg) > static void as102_fe_copy_tune_parameters(struct as10x_tune_args *tune_args, > struct dtv_frontend_properties *params) > {