[PATCH 3/4] staging: comedi: adl_pci9118: use comedi_bytes_to_samples()

2014-11-10 Thread H Hartley Sweeten
Remove the assumption of the sample size by using the comedi_bytes_to_samples() helper function to convert the number of bytes to the number of samples. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/adl_pci9118.c | 4 +--- 1 file chan

[PATCH 4/4] staging: comedi: adl_pci9118: switch DMA buffers after writing samples

2014-11-10 Thread H Hartley Sweeten
Currently the DMA buffers are switched before writing the current samples to the async buffer. This works but when the EOA event happens we end up with an outstanding DMA operation in progress that gets terminated by the (*cancel). Avoid the outstanding DMA operation by switching the DMA buffers a

[PATCH 2/4] staging: comedi: adl_pci9118: absorb move_block_from_dma()

2014-11-10 Thread H Hartley Sweeten
Absorb this simple helper function into interrupt_pci9118_ai_dma(). Remove the unnecessary local variables 'sampls' and 'm'. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/adl_pci9118.c | 24 +++- 1 file changed, 7

[PATCH 1/4] staging: comedi: adl_pci9118: use comedi_async 'scans_done' to detect EOA

2014-11-10 Thread H Hartley Sweeten
The comedi core now counts the number of samples added to the async buffer and detects the end-of-scan and increments the comedi_async 'scans_done' counter. Remove the private data member 'ai_act_scan' and use the 'scans_done' member to detect the end-of-acquisition. Signed-off-by: H Hartley Swee

[V2 PATCH 01/10] added media agnostic (MA) USB HCD driver

2014-11-10 Thread Stephanie Wallick
This is where we interface with the existing USB stack and implement the functionality of a USB host controller driver. From the host's perspective, we appear as just another USB host controller. However, instead of passing traffic along a wired USB bus, the driver hands USB packets off for transpo

[V2 PATCH 10/10] added kernel build, configuration, and TODO files

2014-11-10 Thread Stephanie Wallick
Signed-off-by: Sean O. Stalley Signed-off-by: Stephanie Wallick --- MAINTAINERS| 7 +++ drivers/staging/Kconfig| 2 ++ drivers/staging/Makefile | 1 + drivers/staging/mausb/Kconfig | 16 drivers/staging/ma

[V2 PATCH 07/10] added media agnostic (MA) USB management packet handling

2014-11-10 Thread Stephanie Wallick
The Media Agnostic USB Specification outlines a number of managment packet types for management and control functions. Each function is initiated with a particular type of managment request packet and completed with the corresponding management response packet. This is where we fill the fields for

[V2 PATCH 02/10] added media agnostic (MA) USB HCD roothubs

2014-11-10 Thread Stephanie Wallick
This is where we implement USB 2.0 and 3.0 roothubs. From the host's perspective, hub state is set and tracked just like any other USB roothub. Likewise, requests to the roothub appear to be handled like any other wired USB request. Signed-off-by: Sean O. Stalley Signed-off-by: Stephanie Wallick

[V2 PATCH 06/10] added media agnostic (MA) UDC

2014-11-10 Thread Stephanie Wallick
This is where we implement the behavior of a USB device controller for the MA USB device-side driver. The MA UDC interfaces with a gadget driver and appears to the driver as a regular UDC. However, instead of sending USB packets over a wired USB bus, the MA UDC hands MA USB packets off to a media s

[V2 PATCH 04/10] added media agnostic (MA) USB packet handling

2014-11-10 Thread Stephanie Wallick
This is where we handle MA USB packets. The structure and types of MA USB packets are defined in the MA USB specification. When an MA USB driver receives a USB packet, it translates it into a MA USB packet (or packets if urb exceeds maximum USB packet size). When an MA USB packet is received, the d

[V2 PATCH 03/10] added media agnostic (MA) data structures and handling

2014-11-10 Thread Stephanie Wallick
This is where we create, store and handle endpoint and device structures that are specific to the MA USB drivers. Each MA USB structure maps 1:1 with it's corresponding USB structure (e.g. there is one MA USB endpoint per USB endpoint). Signed-off-by: Sean O. Stalley Signed-off-by: Stephanie Wall

[V2 PATCH 08/10] added media agnostic (MA) USB data packet handling

2014-11-10 Thread Stephanie Wallick
The MA USB Specification outlines packet types and a protocol for bulk and interrupt transfers. This is where we implement that protocol. MA USB transfers are initiated by the host via a TransferRequest packet. The host then either sends data to the device via subsequent TransferRequest packets (OU

[V2 PATCH 09/10] added tools for building/loading media agnostic (MA) USB drivers

2014-11-10 Thread Stephanie Wallick
Adds various scripts for building, loading and unloading the MA USB drivers and a utility that can be used for connecting and disconnecting the host and device drivers. Signed-off-by: Sean O. Stalley Signed-off-by: Stephanie Wallick --- drivers/staging/mausb/mausb-util/AUTHORS | 2 +

[V2 PATCH 05/10] added media specific (MS) TCP drivers

2014-11-10 Thread Stephanie Wallick
This is where we handle media specific packets and transport. The MS driver interfaces with a media agnostic (MA) driver via a series of transfer pairs. Transfer pairs consist of a set of functions to pass MA USB packets back and forth between MA and MS drivers. There is one transfer pair per devic

RE: [PATCH v2 1/2] Tools: hv: vssdaemon: report freeze errors

2014-11-10 Thread Dexuan Cui
> -Original Message- > From: Vitaly Kuznetsov > Sent: Tuesday, November 11, 2014 0:37 AM > To: KY Srinivasan; Haiyang Zhang; Greg Kroah-Hartman > Cc: de...@linuxdriverproject.org; linux-ker...@vger.kernel.org; Dexuan Cui > Subject: [PATCH v2 1/2] Tools: hv: vssdaemon: report freeze errors >

RE: [PATCH v2 2/2] Tools: hv: vssdaemon: skip all filesystems mounted readonly

2014-11-10 Thread Dexuan Cui
> -Original Message- > From: Vitaly Kuznetsov > Sent: Tuesday, November 11, 2014 0:37 AM > To: KY Srinivasan; Haiyang Zhang; Greg Kroah-Hartman > Cc: de...@linuxdriverproject.org; linux-ker...@vger.kernel.org; Dexuan Cui > Subject: [PATCH v2 2/2] Tools: hv: vssdaemon: skip all filesystems m

[PATCH] staging: lustre: Fix sparse warnings for static declarations

2014-11-10 Thread Adrian Nicoara
All the changes are against variables/functions that are only accessed from within the same file. If the scope needs to change later on, the static keyword can be removed. Compile tested. Signed-off-by: Adrian Nicoara --- There are 73 such warnings remaining by my last count. They, however, requ

Re: [V2 PATCH 01/10] added media agnostic (MA) USB HCD driver

2014-11-10 Thread Greg KH
On Mon, Nov 10, 2014 at 06:09:32PM -0800, Stephanie Wallick wrote: > +static int mausb_bus_probe(struct device *dev) > +{ > + return mausb_probe(dev); > +} > + > +static int mausb_bus_remove(struct device *dev) > +{ > + return mausb_remove(dev); > +} Wrapper functions that just call anothe

Re: [V2 PATCH 05/10] added media specific (MS) TCP drivers

2014-11-10 Thread Greg KH
On Mon, Nov 10, 2014 at 06:09:36PM -0800, Stephanie Wallick wrote: > +static int ma_open; Why do you need this variable? > +/** > + * This function is used to open the device file in order to read/write > + * from/to it. > + * > + * @inode: Struct with various information that is passed in when

Re: [V2 PATCH 10/10] added kernel build, configuration, and TODO files

2014-11-10 Thread Greg KH
On Mon, Nov 10, 2014 at 06:09:41PM -0800, Stephanie Wallick wrote: > Signed-off-by: Sean O. Stalley > Signed-off-by: Stephanie Wallick No changelog entry? > --- > MAINTAINERS| 7 +++ > drivers/staging/Kconfig| 2 ++ > drivers/staging/Makefile

Re: [PATCH] staging: lustre: Fix sparse warnings for static declarations

2014-11-10 Thread Adrian Nicoara
> All the changes are against variables/functions that are only accessed from > within the same file. If the scope needs to change later on, the static > keyword > can be removed. > > Compile tested. Correction - I somehow missed a compile error. Disregard this patch, I'll follow up with a correct

Re: [V2 PATCH 03/10] added media agnostic (MA) data structures and handling

2014-11-10 Thread Greg KH
On Mon, Nov 10, 2014 at 06:09:34PM -0800, Stephanie Wallick wrote: > +/** > + * Returns the number of urbs currently in the MA USB HCD. Will return 0 if > the > + * MA USB HCD is empty or a negative errno if an error occurs. How can this function return a negative number? I don't see that codepa

Re: [PATCH v3 06/10] [media] platform: Make use of media_bus_format enum

2014-11-10 Thread Sekhar Nori
On Saturday 08 November 2014 02:48 PM, Prabhakar Lad wrote: > Hi, > > Thanks for the patch, > > On Fri, Nov 7, 2014 at 2:07 PM, Boris Brezillon > wrote: >> In order to have subsytem agnostic media bus format definitions we've >> moved media bus definition to include/uapi/linux/media-bus-format.h

[PATCH v2] staging: lustre: Fix sparse warnings for static declarations

2014-11-10 Thread Adrian Nicoara
All the changes are against variables/functions that are only accessed from within the same file. If the scope needs to change later on, the static keyword can be removed. Build tested. Signed-off-by: Adrian Nicoara --- drivers/staging/lustre/lnet/lnet/module.c | 2 +- drivers/staging

Administrador do sistema

2014-11-10 Thread Administrador
Caro usuário Seu e-mail ultrapassou 2 GB criados pelo webmaster, que está atualmente em execução no 2.30GB, o que não é possível enviar ou receber nova mensagem dentro das próximas 24 horas, até que você verifique se você enviar e-mail da conta. Por favor, informe seus dados abaixo para verif

Re: [PATCH] staging: panel: Fix single-open policy race condition

2014-11-10 Thread Willy Tarreau
On Wed, Nov 05, 2014 at 12:51:22PM +0100, Mariusz Gorski wrote: > On Wed, Nov 05, 2014 at 01:19:10PM +0300, Dan Carpenter wrote: > > On Tue, Nov 04, 2014 at 10:47:19PM +0100, Mariusz Gorski wrote: > > > Fix the implementation of a single-open policy for both > > > devices (lcd and keypad) by using

[PATCH] staging: fwserial: remove multiple blank lines

2014-11-10 Thread Le Tan
This patch fixes the multiple blank lines issue complained by checkpatch.pl by removing useless blank lines. Signed-off-by: Le Tan --- drivers/staging/fwserial/fwserial.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/fwserial/fwserial.c b/drivers/staging/fwserial/fwseria

Re: [PATCH v3 06/10] [media] platform: Make use of media_bus_format enum

2014-11-10 Thread Sekhar Nori
On Tuesday 11 November 2014 10:12 AM, Sekhar Nori wrote: > On Saturday 08 November 2014 02:48 PM, Prabhakar Lad wrote: >> Hi, >> >> Thanks for the patch, >> >> On Fri, Nov 7, 2014 at 2:07 PM, Boris Brezillon >> wrote: >>> In order to have subsytem agnostic media bus format definitions we've >>> mo

[PATCH] staging:rtl8723au: core: Added missing space reported by checkpatch.

2014-11-10 Thread Sanjeev Sharma
This is a patch to the rtw_cmd.c file that fixes following Error. ERROR: spaces required around that '>' (ctx:WxV) Signed-off-by: Sanjeev Sharma --- drivers/staging/rtl8723au/core/rtw_cmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rt

<    1   2