[PATCH] Staging: ks7010: michael_mic: fixed macros coding style issue

2016-07-18 Thread Bing Sun
Fixed coding style issue: Enclose multiple statements macros definition in a do while loop. Use one space around binary operators. Signed-off-by: Bing Sun --- drivers/staging/ks7010/michael_mic.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/drivers/st

Re: [PATCH 0/7] de-stage SW_SYNC validation frawework

2016-07-18 Thread Gustavo Padovan
Hi, Do you think there is time to get this in for 4.8? Thanks. 2016-06-20 Gustavo Padovan : > From: Gustavo Padovan > > Hi Greg, > > This is the last step in the Sync Framwork de-stage task. It de-stage > the SW_SYNC validation framework and the sync_debug info debugfs file. > > The first 3

[PATCH] staging: vt6655: power.c: Fix checkpatch warning

2016-07-18 Thread Anson Jacob
Fix checkpatch.pl warning for trailing */ on a separate line Remove '+' postfix and '-' prefix from the start and end of block comments Signed-off-by: Anson Jacob --- drivers/staging/vt6655/power.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/v

[PATCH] staging: vt6655: Fix checkpatch warning

2016-07-18 Thread Anson Jacob
Fix warning by checkpatch.pl Add * for block comments on subsequent lines Signed-off-by: Anson Jacob --- drivers/staging/vt6655/device_main.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c i

[PATCH] staging: vt6655: channel.c: Fix block comments usage warning by checkpatch.pl

2016-07-18 Thread Anson Jacob
This patch fixes the following checkpatch.pl warnings: WARNING: Block comments use * on subsequent lines + /* TX_PE will reserve 3 us for MAX2829 A mode only, + it is for better TX throughput */ WARNING: Block comments use a trailing */ on a separate line + it is for bette

[PATCH 6/9] staging: most: hdm-usb: remove redundant parenthesis

2016-07-18 Thread Christian Gromm
This patch removes unnecessary parenthesis in boolean expressions. Signed-off-by: Andrey Shvetsov Signed-off-by: Christian Gromm --- drivers/staging/most/hdm-usb/hdm_usb.c | 51 +- 1 file changed, 25 insertions(+), 26 deletions(-) diff --git a/drivers/staging/mo

[PATCH 5/9] staging: most: hdm-usb: remove completion object

2016-07-18 Thread Christian Gromm
Waiting for the urb_compl object to complete evaluates always as false. This patch removes this unnecessary completion object. Signed-off-by: Andrey Shvetsov Signed-off-by: Christian Gromm --- drivers/staging/most/hdm-usb/hdm_usb.c | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(

[PATCH 4/9] staging: most: hdm-usb: synchronize release of struct buf_anchor

2016-07-18 Thread Christian Gromm
In case a channel that is going to be destroyed has been tagged as not "healthy" by the function hdm_poison_channel() while the functions hdm_write_completion() or hdm_read_completion() are being executed, they race for destruction of buf_anchor. This patch fixes the problem. Signed-off-by: Andre

[PATCH 8/9] staging: most: hdm-usb: remove unnecessary status assignment

2016-07-18 Thread Christian Gromm
The USB completion callbacks set the status field of an MBO object before scheduling the clear_work. This patch removes this redundant assignment as the work_struct does the same for all MBOs. Signed-off-by: Andrey Shvetsov Signed-off-by: Christian Gromm --- drivers/staging/most/hdm-usb/hdm_usb

[PATCH 2/9] staging: most: hdm-usb: fix race between enqueue and most_stop_enqueue

2016-07-18 Thread Christian Gromm
The "broken in pipe" handler of the USB-HDM calls most_stop_enqueue() to stop the MBO traffic before returning all MBOs back to the Mostcore. As the enqueue() call from the Mostcore may run in parallel with the most_stop_enqueue(), the HDM may run into the inconsistent state and crash the kernel.

[PATCH 7/9] staging: most: hdm-usb: init variables at declaration time

2016-07-18 Thread Christian Gromm
This patch initializes variables by the time they are declared. Signed-off-by: Andrey Shvetsov Signed-off-by: Christian Gromm --- drivers/staging/most/hdm-usb/hdm_usb.c | 72 +++--- 1 file changed, 23 insertions(+), 49 deletions(-) diff --git a/drivers/staging/most/

[PATCH 9/9] staging: most: hdm-usb: add support for new USB gadget

2016-07-18 Thread Christian Gromm
This patch is needed to make the driver support Microchip's OS81210 USB MOST network interface controller. It simply adds the gadget's product ID to the driver's ID table. Signed-off-by: Christian Gromm --- drivers/staging/most/hdm-usb/hdm_usb.c | 5 - 1 file changed, 4 insertions(+), 1 dele

[PATCH 1/9] staging: most: hdm-usb: reduce context of list_del mutex

2016-07-18 Thread Christian Gromm
This patch reduces context of the list_del mutex for the function hdm_enqueue(). Signed-off-by: Andrey Shvetsov Signed-off-by: Christian Gromm --- drivers/staging/most/hdm-usb/hdm_usb.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/most/hdm-usb/h

[PATCH 3/9] staging: most: hdm-usb: assign spinlock to local variable

2016-07-18 Thread Christian Gromm
This patch assigns the spinlock of struct mdev to local spinlock_t variable to get rid of all the ugly dereferencing. Signed-off-by: Andrey Shvetsov Signed-off-by: Christian Gromm --- drivers/staging/most/hdm-usb/hdm_usb.c | 31 +++ 1 file changed, 19 insertions(+),

[PATCH 0/9] staging: most: fix hdm-usb issues

2016-07-18 Thread Christian Gromm
This patch set is needed to fix issues of the hdm-usb module. Christian Gromm (9): staging: most: hdm-usb: reduce context of list_del mutex staging: most: hdm-usb: fix race between enqueue and most_stop_enqueue staging: most: hdm-usb: assign spinlock to local variable staging: most: hdm-us

Re: [PATCH] Staging: ks7010: michael_mic: fixed macros coding style issue

2016-07-18 Thread Greg KH
On Mon, Jul 18, 2016 at 12:35:44PM +0800, Sunbing wrote: > Fixed coding style issue: > Enclose multiple statements macros definition in a do while loop. > Use one space around binary operators. > > Signed-off-by: Sunbing Is that the legal name you use to sign documents? If not, please resend wi

Пробив любых данных. Тел +7(977)606-62-01 WA/Viber: +7(977)606-62-03 Email: nah...@163.com www.sherlockholmes.pw Частный детектив.

2016-07-18 Thread 128
Пробив любых данных. Тел +7(977)606-62-01 WA/Viber: +7(977)606-62-03 Email: nah...@163.com www.sherlockholmes.pw Частный детектив. ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-dev

Re: [PATCH v5] [media] pci: Add tw5864 driver

2016-07-18 Thread Hans Verkuil
Hi Andrey, Just a few small comments, I'd say the next version should be ready for merging in 4.9 (it's too late for 4.8). On 07/13/2016 04:12 PM, Andrey Utkin wrote: > Changes since v4: > - Decrease motion data buffer to bare minimum > - Fix all "checkpatch.pl --strict" notices (whitespace) >

Re: [RFC] rfkill: Add new ACPI device for Realtek serial BT

2016-07-18 Thread Kalle Valo
Larry Finger writes: > The Realtek RTL8723BS chips, which are connected via SDIO, also contain > a serial Bluetooth device. In order for BT to work, the device must be > added to the acpi_device_id table. > > Signed-off-by: Larry Finger > --- > > I have no idea if this device should be added her

Re: [PATCH 7/9] staging: ks7010: Replace three printk() calls by pr_err()

2016-07-18 Thread Joe Perches
On Sun, 2016-07-17 at 20:27 +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 17 Jul 2016 19:12:27 +0200 > > Prefer usage of the macro "pr_err" over the interface "printk". > Fix a typo in an error message. Please and and use pr_fmt