[PATCH] Drivers: hv: hv_fcopy: fix a race condition for SMP guest

2014-07-15 Thread Dexuan Cui
We should schedule the 5s "timer work" before starting the data transfer, otherwise, the data transfer code may finish so fast on another virtual cpu that when the code(fcopy_write()) trying to cancel the 5s "timer work" can occasionally fail because the "timer work" may haven't been scheduled yet

Re: [PATCH 46/94] ARM: dts: am335x-evm: Enable the McASP FIFO for audio

2014-07-15 Thread Peter Ujfalusi
On 07/15/2014 08:01 PM, Sam Asadi wrote: > From: Peter Ujfalusi > > The use of FIFO in McASP can reduce the risk of audio under/overrun and > lowers the load on the memories since the DMA will operate in bursts. > > Signed-off-by: Peter Ujfalusi > Signed-off-by: Tony Lindgren > Signed-off-by:

Re: [PATCH V5 6/6] staging: vt6556: Replace printk by dev_warn

2014-07-15 Thread Greg KH
On Tue, Jul 15, 2014 at 10:46:49PM +0200, Peter Senna Tschudin wrote: > This patch fixes a checkpatch warning by replacing printk > by dev_warn. Tested by compilation only. > > Signed-off-by: Peter Senna Tschudin > --- > Changes from V4: > - use dev_warn instead of pr_warn > > drivers/staging/

Re: [PATCH 02/10] staging: unisys: add toolaction to sysfs

2014-07-15 Thread Greg KH
On Tue, Jul 15, 2014 at 01:30:42PM -0400, Benjamin Romer wrote: > Move the proc entry for controlling the toolaction field to sysfs. The field > appears in /sys/devices/platform/visorchipset/install/toolaction. > > This field is used to tell s-Par which type of recovery tool action to perform > on

Re: [PATCH] staging: emxx_udc: Fix coding style errors

2014-07-15 Thread Stone Kang
Hi Greg, On Tue, Jul 15, 2014 at 07:21:28PM -0700, Greg Kroah-Hartman wrote: > On Wed, Jul 16, 2014 at 09:16:15AM +0800, Stone Kang wrote: > > Only fixing errors reported by checkpatch.pl, based on the following > > rules: > > 1. '*' should be adjacent to the data name or function name. > > 2. Don

[PATCH] staging: emxx_udc: Fix coding style errors

2014-07-15 Thread KANG Yuxuan
Only fixing errors reported by checkpatch.pl, based on the following rules: 1. '*' should be adjacent to the data name or function name. 2. Don't use C99-style "// ..." comments. Signed-off-by: KANG Yuxuan --- drivers/staging/emxx_udc/emxx_udc.c | 14 +++--- 1 file changed, 7 insertions(

Re: [PATCH] staging: emxx_udc: Fix coding style errors

2014-07-15 Thread Greg Kroah-Hartman
On Wed, Jul 16, 2014 at 09:16:15AM +0800, Stone Kang wrote: > Only fixing errors reported by checkpatch.pl, based on the following > rules: > 1. '*' should be adjacent to the data name or function name. > 2. Don't use C99-style "// ..." comments. > > Signed-off-by: KANG Yuxuan I see two differen

[PATCH] staging: emxx_udc: Fix coding style errors

2014-07-15 Thread Stone Kang
Only fixing errors reported by checkpatch.pl, based on the following rules: 1. '*' should be adjacent to the data name or function name. 2. Don't use C99-style "// ..." comments. Signed-off-by: KANG Yuxuan --- drivers/staging/emxx_udc/emxx_udc.c | 14 +++--- 1 file changed, 7 insertions(

Re: [PATCH 01/94] ARM: shmobile: Add DT and defconfigs to MAINTAINERS

2014-07-15 Thread Simon Horman
On Tue, Jul 15, 2014 at 10:05:30AM -0700, Greg KH wrote: > On Tue, Jul 15, 2014 at 07:53:07PM +0300, Sam Asadi wrote: > > From: Simon Horman > > > > There are a number of DT and defconfig files which > > are maintained as part of shmobile but have not been > > listed as such in the MAINTAINERS fi

Re: [PATCH V4 4/6] staging: vt6556: Remove typedefs

2014-07-15 Thread Greg KH
On Tue, Jul 15, 2014 at 10:05:54PM +0200, Peter Senna Tschudin wrote: > On Tue, Jul 15, 2014 at 5:06 PM, Greg KH wrote: > > On Mon, Jul 14, 2014 at 09:15:31PM +0200, Peter Senna Tschudin wrote: > >> This patch removes uneeded typedefs reported by chackpatch and removes > >> one enum. The removed e

Re: [PATCH 6/8 V2] staging: dgap: remove unneeded dgap_err()

2014-07-15 Thread Greg KH
On Wed, Jul 16, 2014 at 08:21:30AM +0900, DaeSeok Youn wrote: > Hi, > > 2014-07-16 0:29 GMT+09:00 Greg KH : > > On Tue, Jul 15, 2014 at 06:11:44PM +0900, Daeseok Youn wrote: > >> The dgap_err() is printing a message with pr_err(), > >> so all those are replaced. > >> > >> Use definition "pr_fmt" a

[PATCH 2/2] ARM: OMAP2+: remove DSP platform device

2014-07-15 Thread Kristina Martšenko
It was added to support DSP Bridge. Since DSP Bridge was removed, and nothing else is using the platform device, remove it too. Signed-off-by: Kristina Martšenko Cc: Omar Ramirez Luna Cc: Suman Anna Cc: Felipe Contreras --- arch/arm/mach-omap2/Makefile | 4 - arch/arm/mach-omap2/c

Re: [PATCH 6/8 V2] staging: dgap: remove unneeded dgap_err()

2014-07-15 Thread DaeSeok Youn
Hi, 2014-07-16 0:29 GMT+09:00 Greg KH : > On Tue, Jul 15, 2014 at 06:11:44PM +0900, Daeseok Youn wrote: >> The dgap_err() is printing a message with pr_err(), >> so all those are replaced. >> >> Use definition "pr_fmt" and then all of "dgap:" in >> the beginning of print messages are removed. >> >

[PATCH V5 3/4] staging: vt6556: Cleanup coding style: lines over 80 chars

2014-07-15 Thread Peter Senna Tschudin
This patch cleanup the follwoing coding style issues: - line over 80 chars - spaces on the beginning of a line - put { and } on the correct places Tested by compilation only. Signed-off-by: Peter Senna Tschudin --- Changes from V4: - Splitted [PATCH V4 1/6] in 4 smaller patches drivers/sta

[PATCH V5 4/4] staging: vt6556: Cleanup coding style: indentation

2014-07-15 Thread Peter Senna Tschudin
This patch cleanup the follwoing coding style issues: - indentation style - new line after declaration Tested by compilation only. Signed-off-by: Peter Senna Tschudin --- Changes from V4: - Splitted [PATCH V4 1/6] in 4 smaller patches drivers/staging/vt6656/main_usb.c | 36 +

[PATCH V5 2/4] staging: vt6556: Cleanup coding style: comments

2014-07-15 Thread Peter Senna Tschudin
This patch cleanup coding style issues on comments. Tested by compilation only. Signed-off-by: Peter Senna Tschudin --- Changes from V4: - Splitted [PATCH V4 1/6] in 4 smaller patches drivers/staging/vt6656/baseband.c | 15 --- drivers/staging/vt6656/card.c | 4 ++-- drivers/

[PATCH V5 1/4] staging: vt6556: Cleanup coding style: #define

2014-07-15 Thread Peter Senna Tschudin
This patch cleanup coding style issues on #defines. Tested by compilation only. Signed-off-by: Peter Senna Tschudin --- Changes from V4: - Splitted [PATCH V4 1/6] in 4 smaller patches drivers/staging/vt6656/card.h | 6 +++--- drivers/staging/vt6656/device.h | 10 +- drivers/sta

[PATCH V5 6/6] staging: vt6556: Replace printk by dev_warn

2014-07-15 Thread Peter Senna Tschudin
This patch fixes a checkpatch warning by replacing printk by dev_warn. Tested by compilation only. Signed-off-by: Peter Senna Tschudin --- Changes from V4: - use dev_warn instead of pr_warn drivers/staging/vt6656/main_usb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/

[PATCH V5 5/6] staging: vt6556: Cleanup indentation on statements

2014-07-15 Thread Peter Senna Tschudin
Use tabs instead of spaces in a set of statements and fix lines over 80 chars. Reported by checkpatch. Tested by compilation only. Signed-off-by: Peter Senna Tschudin --- Cahnges from V4: - Fix identation issue found on V4 drivers/staging/vt6656/main_usb.c | 44 ---

Re: [PATCH V4 4/6] staging: vt6556: Remove typedefs

2014-07-15 Thread Peter Senna Tschudin
On Tue, Jul 15, 2014 at 5:06 PM, Greg KH wrote: > On Mon, Jul 14, 2014 at 09:15:31PM +0200, Peter Senna Tschudin wrote: >> This patch removes uneeded typedefs reported by chackpatch and removes >> one enum. The removed enum from card.h: >> >> typedef enum _CARD_PHY_TYPE { >> PHY_TYPE_AUTO = 0,

Re: rtl8821ae: patch for mac80211 regulatory changes

2014-07-15 Thread Konrad Zapalowicz
On 07/15, Kevin Folz wrote: > Hello, > > > > I noticed you two have worked on the staging rtl8821ae driver. > > > > I wrote to the mailing list last month, but have yet to receive a > response. > > http://permalink.gmane.org/gmane.linux.kernel.wireless.general/125235 > > > > > I downl

Re: [PATCH] staging: rtl8192ee: Fix setting highest n rate

2014-07-15 Thread Greg KH
On Mon, Jul 14, 2014 at 10:56:32PM -0500, Larry Finger wrote: > Commit 4fb6a37c3f94c1cb4b828bfcc4347771e1628f88 by Andrey Utkin > and entitled "staging: rtl8192ee: > "Correct bitmask in comparsion" fixed what appeared to be a typo. After > consultation with the Realtek engineers, merely testing fo

Re: linux-next: build failure after merge of the tty.current tree

2014-07-15 Thread Peter Hurley
On 07/12/2014 09:02 AM, Peter Hurley wrote: On 07/11/2014 09:20 PM, Stephen Rothwell wrote: Hi Peter, On Fri, 11 Jul 2014 11:06:56 -0400 Peter Hurley wrote: Sorry about that. I don't have a full cross-compiler setup for build testing. Looks like that's something I'm going to have to add.

Re: [PATCH v4 0/5] staging:iio:hmc5843: Few adjustments and support for hmc5983

2014-07-15 Thread Jonathan Cameron
On 15/07/14 13:24, Josef Gajdusek wrote: This patch series modifies the hmc5843 driver to support the hmc5983 i2c and spi interfaces. v2: * Reverted the changed order of iio unregister and setting hmc mode to sleep v3: * Fixed bug introduced in the first patch * Readded

[PATCH 55/94] Drivers: hv: vmbus: Fix a bug in the channel callback dispatch code

2014-07-15 Thread Sam Asadi
From: "K. Y. Srinivasan" Starting with Win8, we have implemented several optimizations to improve the scalability and performance of the VMBUS transport between the Host and the Guest. Some of the non-performance critical services cannot leverage these optimization since they only read and proces

[PATCH 48/94] ARM: dts: Fix TI CPSW Phy mode selection on IGEP COM AQUILA.

2014-07-15 Thread Sam Asadi
From: Enric Balletbo i Serra As this board use external clock for RMII interface we should specify 'rmii' phy mode and 'rmii-clock-ext' to make ethernet working. Signed-off-by: Enric Balletbo i Serra Signed-off-by: Tony Lindgren Signed-off-by: sam-the-6 --- arch/arm/boot/dts/am335x-igep0033.

[PATCH 09/10] staging: unisys: clean up diagdump proc entry code

2014-07-15 Thread Benjamin Romer
Remove remnant code left over from the diagdump proc entry. Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorchipset/visorchipset_main.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/staging/unisys/visorchipset/visorchipset_main.c b/drivers/stag

Re: [PATCH 95/95] Staging: commedi: 8253.h: style issue fixed

2014-07-15 Thread Greg KH
Patch 95/95? Really? Where are the other 94 patches in this series? :( Please look at what you are doing here, does it make sense? On Tue, Jul 15, 2014 at 08:04:35PM +0300, Sam Asadi wrote: > a revision to the file that previously had several style issues. > It's clean now. What does this mea

Re: [PATCH 89/94] Linux 3.16-rc5

2014-07-15 Thread Valdis . Kletnieks
On Tue, 15 Jul 2014 20:01:44 +0300, Sam Asadi said: > From: Linus Torvalds > > > Signed-off-by: sam-the-6 > --- > Makefile |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Makefile b/Makefile > index 2167084..f3c543d 100644 > --- a/Makefile > +++ b/Makefile > @@ -1,7 +

[PATCH 72/94] phy: omap-usb2: fix devm_ioremap_resource error detection code

2014-07-15 Thread Sam Asadi
From: Himangi Saraogi devm_ioremap_resource returns an ERR_PTR value, not NULL, on failure. A simplified version of the semantic match that finds this problem is as follows: // @@ expression e,e1; statement S; @@ *e = devm_ioremap_resource(...); if (!e1) S // Signed-off-by: Himangi Saraogi

[PATCH 25/94] iio: hid-sensor-press: Fix return values

2014-07-15 Thread Sam Asadi
From: Sachin Kamat IIO_CHAN_INFO_SAMP_FREQ and IIO_CHAN_INFO_HYSTERESIS cases ignored the actual return values (which could be -EINVAL) and instead returned IIO_VAL_INT_PLUS_MICRO always. Return the actual value obtained from the functions. Both functions return IIO_VAL_INT_PLUS_MICRO upon succes

[PATCH 78/94] scripts/kernel-doc: handle object-like macros

2014-07-15 Thread Sam Asadi
From: Horia Geanta Object-like macros are different than function-like macros: https://gcc.gnu.org/onlinedocs/cpp/Object-like-Macros.html https://gcc.gnu.org/onlinedocs/cpp/Function-like-Macros.html They are not parsed correctly, generating invalid intermediate files (xmls) for cases like: #

[PATCH 41/94] usb: option: Add ID for Telewell TW-LTE 4G v2

2014-07-15 Thread Sam Asadi
From: Bernd Wachter Add ID of the Telewell 4G v2 hardware to option driver to get legacy serial interface working Signed-off-by: Bernd Wachter Cc: Signed-off-by: Johan Hovold Signed-off-by: sam-the-6 --- drivers/usb/serial/option.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/dr

Re: question regarding drivers/staging/iio/adc/ad7280a.c

2014-07-15 Thread Jonathan Cameron
On 14/07/14 21:31, Himangi Saraogi wrote: Hi, The code seems to have a memory leak. The function ad7280_attr_init calls kasprintf a number of times, which calls kmalloc (or more precisely kmalloc_track_caller), but this data does not ever seem to be freed. I propose to introduce a devm_ version

[PATCH 64/94] serial: Test for no tx data on tx restart

2014-07-15 Thread Sam Asadi
From: Peter Hurley Commit 717f3bbab3c7628736ef738fdbf3d9a28578c26c, 'serial_core: Fix conditional start_tx on ring buffer not empty' exposes an incorrect assumption in several drivers' start_tx methods; the tx ring buffer can, in fact, be empty when restarting tx while performing flow control. A

[PATCH 71/94] phy: sun4i: depend on RESET_CONTROLLER

2014-07-15 Thread Sam Asadi
From: Maxime Ripard The driver depend on the reset framework in a mandatory way. Make sure reset_control_get is defined by adding this dependency in Kconfig Signed-off-by: Maxime Ripard Reported-by: Arnd Bergmann Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Greg Kroah-Hartman Signed-

[PATCH 10/10] staging: unisys: remove partition information from proc

2014-07-15 Thread Benjamin Romer
Debugging information for the guest's channels was being exposed in proc. Remove the code that creates these entries, which are no longer needed. Signed-off-by: Benjamin Romer --- .../unisys/visorchipset/visorchipset_main.c| 100 - 1 file changed, 100 deletions(-) di

[PATCH 04/10] staging: unisys: move installer to sysfs and split fields

2014-07-15 Thread Benjamin Romer
The installer entry in /proc/visorchipset/installer was composed of three separate fields as one entry. This patch removes the proc entry and associated functions, and creates new fields with distinct entries under sysfs in the visorchipset/install directory. The fields are: textid: used t

[PATCH 08/10] staging: unisys: remove unused visorchipset_proc_read_writeonly()

2014-07-15 Thread Benjamin Romer
The function visorchipset_proc_read_writeonly() is no longer used anywhere, so remove it. Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorchipset/visorchipset_main.c | 11 --- 1 file changed, 11 deletions(-) diff --git a/drivers/staging/unisys/visorchipset/visorchipset_mai

[PATCH 05/10] staging: unisys: move chipsetready to sysfs

2014-07-15 Thread Benjamin Romer
Move the chipsetready proc entry to sysfs under a new directory guest. This entry is used by Unisys application software on the guest to acknowledge completion of specific events for integration purposes, but these acknowledgements are not required for the guest to operate correctly. Signed-off-by

[PATCH 06/10] staging: unisys: move parahotplug to sysfs

2014-07-15 Thread Benjamin Romer
Move the /proc/visorchipset/parahotplug interface to sysfs under /sys/devices/platform/visorchipset/guest/parahotplug. The parahotplug interface is used to deal with recovery situations on s-Par guest partitions. The command service partition will send a message to a guest when a device that guest

[PATCH 07/10] staging: unisys: fix chipsetready parsing

2014-07-15 Thread Benjamin Romer
The chipsetready interface was using strsep() on a const buffer, which is wrong and overcomplicated for what is being done in the function. This patch changes it to use sscanf() instead. Signed-off-by: Benjamin Romer --- .../unisys/visorchipset/visorchipset_main.c| 40 ++-

[PATCH 02/10] staging: unisys: add toolaction to sysfs

2014-07-15 Thread Benjamin Romer
Move the proc entry for controlling the toolaction field to sysfs. The field appears in /sys/devices/platform/visorchipset/install/toolaction. This field is used to tell s-Par which type of recovery tool action to perform on the next guest boot-up. The meaning of the value is dependent on the type

[PATCH 01/10] staging: unisys: remove proc entries from /proc/visorchipset/controlvm

2014-07-15 Thread Benjamin Romer
Remove the code that generates proc entries for the controlVM channel. These entries are no longer necessary for debug. Signed-off-by: Benjamin Romer --- .../unisys/visorchipset/visorchipset_main.c| 109 + 1 file changed, 1 insertion(+), 108 deletions(-) diff --git a

[PATCH 00/10] staging: unisys: visorchipset proc fixes

2014-07-15 Thread Benjamin Romer
This patch series removes all proc entries made by the visorchipset module. The installation mode entries and the guest runtime entries were moved to sysfs under the existing visorchipset directory. The installer proc entry consisted of three fields, which were each moved to a new individual entry

[PATCH 03/10] staging: unisys: move boottotool out of proc to sysfs

2014-07-15 Thread Benjamin Romer
Move the proc entry controlling the boottotool flag to procfs. The field appears in /sys/devices/platform/visorchipset/install/boottotool. The boottotool flag controls s-Par behavior on the next boot of this guest. Setting the flag will cause the guest to boot from the utility and installation ima

Re: [PATCH 01/94] ARM: shmobile: Add DT and defconfigs to MAINTAINERS

2014-07-15 Thread Greg KH
On Tue, Jul 15, 2014 at 10:05:30AM -0700, Greg KH wrote: > On Tue, Jul 15, 2014 at 07:53:07PM +0300, Sam Asadi wrote: > > From: Simon Horman > > > > There are a number of DT and defconfig files which > > are maintained as part of shmobile but have not been > > listed as such in the MAINTAINERS fi

[PATCH 56/94] Drivers: hv: util: Fix a bug in the KVP code

2014-07-15 Thread Sam Asadi
From: "K. Y. Srinivasan" Add code to poll the channel since we process only one message at a time and the host may not interrupt us. Also increase the receive buffer size since some KVP messages are close to 8K bytes in size. Signed-off-by: K. Y. Srinivasan Cc: Signed-off-by: Greg Kroah-Hartma

[PATCH 94/94] Staging: commedi: 8253.h: style issue fixed

2014-07-15 Thread Sam Asadi
a revision to the file that previously had several style issues. It's clean now. Signed-off-by: Sam Asadi Signed-off-by: sam-the-6 --- drivers/staging/comedi/drivers/8253.h |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/comedi/drivers/8253.h b/drivers/staging/comedi/dri

[PATCH 53/94] ARM: OMAP2+: Remove non working OMAP HDMI audio initialization

2014-07-15 Thread Sam Asadi
From: Jyri Sarha This code is not working currently and it can be removed. There is a conflict in sharing resources with the actual HDMI driver and with the ASoC HDMI audio DAI driver. Signed-off-by: Jyri Sarha Signed-off-by: Tony Lindgren Signed-off-by: sam-the-6 --- arch/arm/mach-omap2/dev

[PATCH 58/94] i8k: Fix non-SMP operation

2014-07-15 Thread Sam Asadi
From: Guenter Roeck Commit f36fdb9f0266 (i8k: Force SMM to run on CPU 0) adds support for multi-core CPUs to the driver. Unfortunately, that causes it to fail loading if compiled without SMP support, at least on 32 bit kernels. Kernel log shows "i8k: unable to get SMM Dell signature", and functio

[PATCH 45/94] ARM: OMAP2+: Make GPMC skip disabled devices

2014-07-15 Thread Sam Asadi
From: Guido Martínez Currently, child nodes of the gpmc node are iterated and probed regardless of their 'status' property. This means adding 'status = "disabled";' has no effect. This patch changes the iteration to only probe nodes marked as available. Signed-off-by: Guido Martínez Tested-by:

[PATCH 49/94] ARM: l2c: fix revision checking

2014-07-15 Thread Sam Asadi
From: Russell King The revision checking in l2c310_enable() was not correct; we were masking the part number rather than the revision number. Fix this to use the correct macro. Fixes: 4374d64933b1 ("ARM: l2c: add automatic enable of early BRESP") Signed-off-by: Russell King Signed-off-by: sam-

[PATCH 51/94] ARM: dts: Update the parent for Audss clocks in Exynos5420

2014-07-15 Thread Sam Asadi
From: Tushar Behera Currently CLK_FOUT_EPLL was set as one of the parents of AUDSS mux. As per the user manual, it should be CLK_MAU_EPLL. The problem surfaced when the bootloader in Peach-pit board set the EPLL clock as the parent of AUDSS mux. While booting the kernel, we used to get a system

[PATCH 29/94] iio: hid-sensor-gyro-3d: Fix return values

2014-07-15 Thread Sam Asadi
From: Sachin Kamat IIO_CHAN_INFO_SAMP_FREQ and IIO_CHAN_INFO_HYSTERESIS cases ignored the actual return values (which could be -EINVAL) and instead returned IIO_VAL_INT_PLUS_MICRO always. Return the actual value obtained from the functions. Both functions return IIO_VAL_INT_PLUS_MICRO upon succes

[PATCH 02/94] clk: ti: apll: not allocating enough data

2014-07-15 Thread Sam Asadi
From: Dan Carpenter There is a cut and paste bug here which will lead to memory corruption because we don't allocate enough data. Fixes: 4d008589e271 ('CLK: TI: APLL: add support for omap2 aplls') Signed-off-by: Dan Carpenter Signed-off-by: Tero Kristo Signed-off-by: sam-the-6 --- drivers/cl

[PATCH 87/94] clk: spear3xx: Use proper control register offset

2014-07-15 Thread Sam Asadi
From: Thomas Gleixner The control register is at offset 0x10, not 0x0. This is wreckaged since commit 5df33a62c (SPEAr: Switch to common clock framework). Signed-off-by: Thomas Gleixner Cc: sta...@vger.kernel.org Acked-by: Viresh Kumar Signed-off-by: Mike Turquette Signed-off-by: sam-the-6 -

[PATCH 27/94] iio: hid-sensor-magn-3d: Fix return values

2014-07-15 Thread Sam Asadi
From: Sachin Kamat IIO_CHAN_INFO_SAMP_FREQ and IIO_CHAN_INFO_HYSTERESIS cases ignored the actual return values (which could be -EINVAL) and instead returned IIO_VAL_INT_PLUS_MICRO always. Return the actual value obtained from the functions. Both functions return IIO_VAL_INT_PLUS_MICRO upon succes

[PATCH 16/94] ARM: kprobes: Prevent known test failures stopping other tests running

2014-07-15 Thread Sam Asadi
From: Jon Medhurst Due to a long-standing issue with Thumb symbol lookup [1] the jprobes tests fail when built into a kernel compiled as Thumb mode. (They work fine for ARM mode kernels or for Thumb when built as a loadable module.) Rather than have this problem terminate testing prematurely let

[PATCH 63/94] ARM: EXYNOS: Register cpuidle device only on exynos4210 and 5250

2014-07-15 Thread Sam Asadi
From: Tomasz Figa Currently, the exynos cpuidle driver works correctly only on exynos4210 and 5250. Trying to use it with just one CPU online on any other exynos SoCs will lead to system failure, due to unsupported AFTR mode on other SoCs. This patch fixes the problem by registering the driver on

[PATCH 83/94] ext4: fix potential null pointer dereference in ext4_free_inode

2014-07-15 Thread Sam Asadi
From: Namjae Jeon Fix potential null pointer dereferencing problem caused by e43bb4e612 ("ext4: decrement free clusters/inodes counters when block group declared bad") Reported-by: Dan Carpenter Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan Signed-off-by: Theodore Ts'o Reviewed-by

[PATCH 76/94] ARM: at91: at91sam9x5: add clocks for usb device

2014-07-15 Thread Sam Asadi
From: Bo Shen Add clocks for usb device, or else switch to CCF, the gadget won't work. Reported-by: Jiri Prchal Signed-off-by: Bo Shen Acked-by: Alexandre Belloni Tested-by: Jiri Prchal Signed-off-by: Nicolas Ferre Signed-off-by: Olof Johansson Signed-off-by: sam-the-6 --- arch/arm/boot/

[PATCH 66/94] m68k: Export mach_random_get_entropy to modules

2014-07-15 Thread Sam Asadi
From: Geert Uytterhoeven When a module calls random_get_entropy(): ERROR: "mach_random_get_entropy" [crypto/drbg.ko] undefined! make[1]: *** [__modpost] Error 1 Signed-off-by: Geert Uytterhoeven Signed-off-by: sam-the-6 --- arch/m68k/kernel/time.c |2 ++ 1 file changed, 2 inserti

[PATCH 34/94] ext4: disable synchronous transaction batching if max_batch_time==0

2014-07-15 Thread Sam Asadi
From: Eric Sandeen The mount manpage says of the max_batch_time option, This optimization can be turned off entirely by setting max_batch_time to 0. But the code doesn't do that. So fix the code to do that. Signed-off-by: Eric Sandeen Signed-off-by: Theodore Ts'o Cc: sta...@

[PATCH 85/94] parisc: fix fanotify_mark() syscall on 32bit compat kernel

2014-07-15 Thread Sam Asadi
From: Helge Deller On parisc we can not use the existing compat implementation for fanotify_mark() because for the 64bit mask parameter the higher and lower 32bits are ordered differently than what the compat function expects from big endian architectures. Specifically: It finally turned out, th

[PATCH 84/94] parisc: add serial ports of C8000/1GHz machine to hardware database

2014-07-15 Thread Sam Asadi
From: Helge Deller Signed-off-by: Helge Deller Cc: sta...@vger.kernel.org # 3.13+ Signed-off-by: sam-the-6 --- arch/parisc/kernel/hardware.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/parisc/kernel/hardware.c b/arch/parisc/kernel/hardware.c index 608716f..af3

[PATCH 65/94] serial: arc_uart: Use uart_circ_empty() for open-coded comparison

2014-07-15 Thread Sam Asadi
From: Peter Hurley Replace open-coded test for empty tx ring buffer with equivalent helper function, uart_circ_empty(). No functional change. Signed-off-by: Peter Hurley Signed-off-by: Greg Kroah-Hartman Signed-off-by: sam-the-6 --- drivers/tty/serial/arc_uart.c |2 +- 1 file changed, 1

[PATCH 73/94] drivers: phy: phy-samsung-usb2.c: Add missing MODULE_DEVICE_TABLE

2014-07-15 Thread Sam Asadi
From: Sjoerd Simons Allow phy-exynos-usb2 to be autoloaded based on devicetree information. Tested on Odroid X2 with its USB subsystem build as modules. Signed-off-by: Sjoerd Simons Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Greg Kroah-Hartman Signed-off-by: sam-the-6 --- drivers/

[PATCH 47/94] ARM: dts: am335x-evmsk: Enable the McASP FIFO for audio

2014-07-15 Thread Sam Asadi
From: Peter Ujfalusi The use of FIFO in McASP can reduce the risk of audio under/overrun and lowers the load on the memories since the DMA will operate in bursts. Signed-off-by: Peter Ujfalusi Signed-off-by: Tony Lindgren Signed-off-by: sam-the-6 --- arch/arm/boot/dts/am335x-evmsk.dts |4

[PATCH 40/94] USB: cp210x: add support for Corsair usb dongle

2014-07-15 Thread Sam Asadi
From: Andras Kovacs Corsair USB Dongles are shipped with Corsair AXi series PSUs. These are cp210x serial usb devices, so make driver detect these. I have a program, that can get information from these PSUs. Tested with 2 different dongles shipped with Corsair AX860i and AX1200i units. Signed-o

[PATCH 18/94] ARM: kprobes: Fix test code compilation errors for ARMv4 targets

2014-07-15 Thread Sam Asadi
From: Jon Medhurst Conditionally compile kprobes test cases for ARMv5 instructions to avoid compilation errors with ARMv4 targets like: /tmp/cc7Tx8ST.s:16740: Error: selected processor does not support ARM mode `clz r0,r0' Signed-off-by: Jon Medhurst Signed-off-by: sam-the-6 --- arch/arm/ke

[PATCH 23/94] clocksource: exynos_mct: Fix ftrace

2014-07-15 Thread Sam Asadi
From: Doug Anderson In (93bfb76 clocksource: exynos_mct: register sched_clock callback) we supported using the MCT as a scheduler clock. We properly marked exynos4_read_sched_clock() as notrace. However, we then went and called another function that _wasn't_ notrace. That means if you do: c

[PATCH 30/94] iio: hid-sensor-prox: Fix return values

2014-07-15 Thread Sam Asadi
From: Sachin Kamat IIO_CHAN_INFO_SAMP_FREQ and IIO_CHAN_INFO_HYSTERESIS cases ignored the actual return values (which could be -EINVAL) and instead returned IIO_VAL_INT_PLUS_MICRO always. Return the actual value obtained from the functions. Both functions return IIO_VAL_INT_PLUS_MICRO upon succes

[PATCH 14/94] clk: s2mps11: Fix double free corruption during driver unbind

2014-07-15 Thread Sam Asadi
From: Krzysztof Kozlowski After unbinding the driver memory was corrupted by double free of clk_lookup structure. This lead to OOPS when re-binding the driver again. The driver allocated memory for 'clk_lookup' with devm_kzalloc. During driver removal this memory was freed twice: once by clkdev_

[PATCH 13/94] Update imx-sdma cyclic handling to report residue

2014-07-15 Thread Sam Asadi
From: Russell King - ARM Linux I received a report this morning from one of the Novena developers that the behaviour of the iMX6 ASoC codec driver (using imx-pcm-dma.c) was sub-optimal under high system load. While there are issues relating to system load remaining, upon reviewing the ASoC imx-p

[PATCH 06/94] clk: samsung: fix several typos to fix boot on s3c2410

2014-07-15 Thread Sam Asadi
From: Vasily Khoruzhick There's a several typos in a driver: 2410 instead of S3C2410 and wrong argument to ARRAY_SIZE(). They prevent s3c2410 from properly booting. Signed-off-by: Vasily Khoruzhick Reviewed-by: Heiko Stuebner Signed-off-by: Tomasz Figa Signed-off-by: sam-the-6 --- drivers/c

[PATCH 61/94] clk: exynos5420: Add IDs for clocks used in PD mfc

2014-07-15 Thread Sam Asadi
From: Arun Kumar K Adds IDs for MUX clocks to be used by power domain for MFC for doing re-parenting while pd on/off. Signed-off-by: Arun Kumar K Signed-off-by: Shaik Ameer Basha Acked-by: Tomasz Figa Signed-off-by: Kukjin Kim Signed-off-by: sam-the-6 --- drivers/clk/samsung/clk-exynos5420

[PATCH 42/94] ARM: DRA7/AM43XX: fix header definition for omap44xx_restart

2014-07-15 Thread Sam Asadi
From: Nishanth Menon omap44xx_restart is defined as a static void inline when DRA7/AM437X is defined alone, which implies that the restart function is no longer functional even though it is built in. So, fix the definition of the same. Signed-off-by: Nishanth Menon Signed-off-by: Tony Lindgren

[PATCH 20/94] ARM: dts: dra7xx-clocks: Fix the l3 and l4 clock rates

2014-07-15 Thread Sam Asadi
From: Rajendra Nayak Without the patch: /debug/.../dpll_core_x2_ck/dpll_core_h12x2_ck # cat clk_rate 53200 /debug/.../dpll_core_x2_ck/dpll_core_h12x2_ck/l3_iclk_div # cat clk_rate 53200 /debug/.../dpll_core_x2_ck/dpll_core_h12x2_ck/l3_iclk_div/l4_root_clk_div # cat clk_rate 53200 Wi

[PATCH 37/94] ARM: DRA7: hwmod: Add SYSCONFIG for usb_otg_ss

2014-07-15 Thread Sam Asadi
From: Roger Quadros Add the sysconfig class bits for the Super Speed USB controllers Signed-off-by: Roger Quadros Reviewed-by: Rajendra Nayak Tested-by: Sekhar Nori Signed-off-by: Paul Walmsley Signed-off-by: sam-the-6 --- arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 12 1 fi

[PATCH 17/94] ARM: kprobes: Disallow instructions with PC and register specified shift

2014-07-15 Thread Sam Asadi
From: Jon Medhurst ARM data processing instructions which have a register specified shift are defined as UNPREDICTABLE if PC is used for any register, not just the shift value as the code was previous assuming. This issue manifests on A15 devices as either test case failures or undefined instruct

[PATCH 92/94] Staging: comedi: adl_pci9118: fixed style issues

2014-07-15 Thread Sam Asadi
several style issues fixed. Signed-off-by: Sam Asadi modified: drivers/staging/comedi/drivers/adl_pci9118.c Signed-off-by: sam-the-6 --- drivers/staging/comedi/drivers/adl_pci9118.c | 124 +- 1 file changed, 62 insertions(+), 62 deletions(-) diff --git a/dri

[PATCH 68/94] serial: imx: Fix build breakage

2014-07-15 Thread Sam Asadi
From: Peter Hurley Fix breakage introduced by commit c557d392fbf5badd693ea1946a4317c87a26a716, 'serial: Test for no tx data on tx restart'. Reported-by: Stephen Rothwell Signed-off-by: Peter Hurley Signed-off-by: Greg Kroah-Hartman Signed-off-by: sam-the-6 --- drivers/tty/serial/imx.c |

[PATCH 95/95] Staging: commedi: 8253.h: style issue fixed

2014-07-15 Thread Sam Asadi
a revision to the file that previously had several style issues. It's clean now. Signed-off-by: Sam Asadi --- drivers/staging/comedi/drivers/8253.h |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/comedi/drivers/8253.h b/drivers/staging/comedi/drivers/8253.h index 31d0fc9.

[PATCH 67/94] ext4: revert commit which was causing fs corruption after journal replays

2014-07-15 Thread Sam Asadi
From: Theodore Ts'o Commit 007649375f6af2 ("ext4: initialize multi-block allocator before checking block descriptors") causes the block group descriptor's count of the number of free blocks to become inconsistent with the number of free blocks in the allocation bitmap. This is a harmless form of

[PATCH 89/94] Linux 3.16-rc5

2014-07-15 Thread Sam Asadi
From: Linus Torvalds Signed-off-by: sam-the-6 --- Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2167084..f3c543d 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ VERSION = 3 PATCHLEVEL = 16 SUBLEVEL = 0 -EXTRAVERSION = -rc4 +EX

[PATCH 57/94] USB: ftdi_sio: Add extra PID.

2014-07-15 Thread Sam Asadi
From: Bert Vermeulen This patch adds PID 0x0003 to the VID 0x128d (Testo). At least the Testo 435-4 uses this, likely other gear as well. Signed-off-by: Bert Vermeulen Cc: Johan Hovold Cc: stable Signed-off-by: Greg Kroah-Hartman Signed-off-by: sam-the-6 --- drivers/usb/serial/ftdi_sio.c

[PATCH 79/94] DocBook: fix mtdnand typos

2014-07-15 Thread Sam Asadi
From: Masanari Iida This patch fixed spelling typo found in DocBook/mtdnand.tmpl. Signed-off-by: Masanari Iida Signed-off-by: Randy Dunlap Signed-off-by: Linus Torvalds Signed-off-by: sam-the-6 --- Documentation/DocBook/mtdnand.tmpl | 30 +++--- 1 file changed, 15

[PATCH 39/94] iio:tcs3472: Check for buffer enabled and locking

2014-07-15 Thread Sam Asadi
From: Peter Meerwald Signed-off-by: Peter Meerwald Signed-off-by: Jonathan Cameron Signed-off-by: sam-the-6 --- drivers/iio/light/tcs3472.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/iio/light/tcs3472.c b/drivers/iio/light/tcs3472.c index fe063a0

[PATCH 75/94] phy: omap-usb2: Balance pm_runtime_enable() on probe failure and remove

2014-07-15 Thread Sam Asadi
From: Roger Quadros If probe fails then we need to call pm_runtime_disable() to balance out the previous pm_runtime_enable() call. Else it will cause unbalanced pm_runtime_enable() call in the succeding probe call. This anomaly was observed when the call to devm_phy_create() failed with -EPROBE_

[PATCH 74/94] phy: core: Fix error path in phy_create()

2014-07-15 Thread Sam Asadi
From: Roger Quadros Prevent resources from being freed twice in case device_add() call fails within phy_create(). Also use ida_simple_remove() instead of ida_remove() as we had used ida_simple_get() to allocate the ida. Cc: 3.13+ # 3.13+ Signed-off-by: Roger Quadros Signed-off-by: Kishon Vijay

[PATCH 26/94] iio: hid-sensor-accel-3d: Fix return values

2014-07-15 Thread Sam Asadi
From: Sachin Kamat IIO_CHAN_INFO_SAMP_FREQ and IIO_CHAN_INFO_HYSTERESIS cases ignored the actual return values (which could be -EINVAL) and instead returned IIO_VAL_INT_PLUS_MICRO always. Return the actual value obtained from the functions. Both functions return IIO_VAL_INT_PLUS_MICRO upon succes

[PATCH 80/94] DocBook: fix various typos

2014-07-15 Thread Sam Asadi
From: Masanari Iida This patch fixed spelling typo in various template files within Documentation/Docbook. Signed-off-by: Masanari Iida Signed-off-by: Randy Dunlap Signed-off-by: Linus Torvalds Signed-off-by: sam-the-6 --- Documentation/DocBook/gadget.tmpl |2 +- Documen

[PATCH 43/94] ARM: dts: dra7-evm: Make VDDA_1V8_PHY supply always on

2014-07-15 Thread Sam Asadi
From: Roger Quadros After clarification from the hardware team it was found that this 1.8V PHY supply can't be switched OFF when SoC is Active. Since the PHY IPs don't contain isolation logic built in the design to allow the power rail to be switched off, there is a very high risk of IP reliabil

[PATCH 54/94] iio: ti_am335x_adc: Fix: Use same step id at FIFOs both ends

2014-07-15 Thread Sam Asadi
From: Jan Kardell Since AI lines could be selected at will (linux-3.11) the sending and receiving ends of the FIFO does not agree about what step is used for a line. It only works if the last lines are used, like 5,6,7, and fails if ie 2,4,6 is selected in DT. Signed-off-by: Jan Kardell Tested-

[PATCH 93/94] Staging: comedi: 3 files revised fixed style issues

2014-07-15 Thread Sam Asadi
3 files in 'staging/comedi/drivers/' revised again and style issues fixed Signed-off-by: Sam Asadi modified: drivers/staging/comedi/drivers/8253.h modified: drivers/staging/comedi/drivers/8255.c modified: drivers/staging/comedi/drivers/adl_pci9118.c Signed-off-by: s

[PATCH 59/94] m68k: Fix boot regression on machines with RAM at non-zero

2014-07-15 Thread Sam Asadi
From: Geert Uytterhoeven My enhancement to store the initial mapping size for later reuse in commit 486df8bc4627bdfc032d11bedcd056cc5343ee62 ("m68k: Increase initial mapping to 8 or 16 MiB if possible") broke booting on machines where RAM doesn't start at address zero. Use pc-relative addressing

[PATCH 46/94] ARM: dts: am335x-evm: Enable the McASP FIFO for audio

2014-07-15 Thread Sam Asadi
From: Peter Ujfalusi The use of FIFO in McASP can reduce the risk of audio under/overrun and lowers the load on the memories since the DMA will operate in bursts. Signed-off-by: Peter Ujfalusi Signed-off-by: Tony Lindgren Signed-off-by: sam-the-6 --- arch/arm/boot/dts/am335x-evm.dts |4 +

[PATCH 31/94] ext4: fix unjournalled bg descriptor while initializing inode bitmap

2014-07-15 Thread Sam Asadi
From: Theodore Ts'o The first time that we allocate from an uninitialized inode allocation bitmap, if the block allocation bitmap is also uninitalized, we need to get write access to the block group descriptor before we start modifying the block group descriptor flags and updating the free block

[PATCH 62/94] ARM: dts: Add clock property for mfc_pd in exynos5420

2014-07-15 Thread Sam Asadi
From: Arun Kumar K Adding the optional clock property for the mfc_pd for handling the re-parenting while pd on/off. Signed-off-by: Arun Kumar K Signed-off-by: Shaik Ameer Basha Reviewed-by: Tomasz Figa Signed-off-by: Kukjin Kim Signed-off-by: sam-the-6 --- arch/arm/boot/dts/exynos5420.dtsi

  1   2   3   >