Re: [PATCH v5 2/5] dt-bindings: Add pinctrl bindings for mt65xx/mt81xx.

2015-03-08 Thread Matthias Brugger
Hi Linus, 2015-02-10 9:01 GMT+01:00 Linus Walleij : > On Wed, Jan 21, 2015 at 1:28 PM, Hongzhou Yang > wrote: > >> From: Hongzhou Yang >> >> Add devicetree bindings for Mediatek SoC pinctrl driver. >> >> Signed-off-by: Hongzhou Yang > > OK applied this patch for v3.21 now, relying on Sascha's A

Re: [RFC V2 03/12] i2c: at91: make use of the new infrastructure for quirks

2015-03-08 Thread Wolfram Sang
On Wed, Feb 25, 2015 at 05:01:54PM +0100, Wolfram Sang wrote: > From: Wolfram Sang > > Signed-off-by: Wolfram Sang Hi Ludovic, if you have a few minutes, could you please test this series? I'd like to include it in 4.1. and because at91 is using the quirk infrastructure in a more complex way,

[PATCH 3/3] Input: elan_i2c - Remove duplicate repeat code

2015-03-08 Thread Duson Lin
Remove duplicate "repeat--" from function elan_initialize. Signed-off-by: Duson Lin --- drivers/input/mouse/elan_i2c_core.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_i2c_core.c index f24078b..4b970e2 100644 --- a/drivers

[PATCH] misc: bh1780: Add module aliases

2015-03-08 Thread Jean Delvare
The bh1780gli driver does not create an i2c module alias for the device it supports, preventing the driver from being loaded automatically when needed on non-OF/DT systems. Add it. Signed-off-by: Jean Delvare Cc: Arnd Bergmann Cc: Greg Kroah-Hartman --- drivers/misc/bh1780gli.c |2 ++ 1 fi

Re: [PATCH 1/1] x86/fpu: math_state_restore() should not blindly disable irqs

2015-03-08 Thread Ingo Molnar
* Linus Torvalds wrote: > On Sat, Mar 7, 2015 at 2:36 AM, Ingo Molnar wrote: > > > > We could save the same 10 cycles from page fault overhead as well, > > AFAICS. > > Are trap gates actually noticeably faster? Or is it just he > "conditional_sti()" you're worried about? ( I'll talk about the

Re: [PATCH 1/1] usb: xhci: handle Config Error Change (CEC) in xhci driver

2015-03-08 Thread Lu, Baolu
Hi Alan, Do you have any comments for this patch? Thanks, Baolu On 03/06/2015 04:12 PM, Lu Baolu wrote: Linux xHCI driver doesn't report and handle port cofig error change. If Port Configure Error for root hub port occurs, CEC bit in PORTSC would be set by xHC and remains 1. This happends whe

Re: [PATCH 4/4] mm: numa: Slow PTE scan rate if migration failures occur

2015-03-08 Thread Ingo Molnar
* Mel Gorman wrote: > xfsrepair > 4.0.0-rc1 4.0.0-rc1 > 3.19.0 > vanilla slowscan-v2 > vanilla > Min real-fsmark1157.41 ( 0.00%) 1150.38 ( 0.61%)

Re: [PATCH 4/4] mm: numa: Slow PTE scan rate if migration failures occur

2015-03-08 Thread Ingo Molnar
* Mel Gorman wrote: > Elapsed time is primarily worse on one benchmark -- numa01 which is > an adverse workload. The user time differences are also dominated by > that benchmark > >4.0.0-rc1 4.0.0-rc1 > 3.19.0 >

[PATCH v2] crypto: omap-sham: Check for return value from pm_runtime_get_sync

2015-03-08 Thread Pali Rohár
Function pm_runtime_get_sync could fail and we need to check return value to prevent kernel crash. Signed-off-by: Pali Rohár --- v2: Check return value for all pm_runtime_get_sync() calls --- drivers/crypto/omap-sham.c | 23 --- 1 file changed, 20 insertions(+), 3 deletions

Re: [PATCH 00/10] omap3 crypto fixes

2015-03-08 Thread Pali Rohár
On Friday 06 March 2015 23:23:06 Aaro Koskinen wrote: > Hi, > > On Fri, Mar 06, 2015 at 10:36:32AM -0800, Tony Lindgren wrote: > > Are there any fixes in this series that should go into > > v4.0-rc series, or can it all wait for v4.1? > > I think these all should wait for v4.1. > > A. I would s

Re: [PATCH 4/4] mm: numa: Slow PTE scan rate if migration failures occur

2015-03-08 Thread Ingo Molnar
* Linus Torvalds wrote: > On Sat, Mar 7, 2015 at 8:36 AM, Ingo Molnar wrote: > > > > And the patch Dave bisected to is a relatively simple patch. Why > > not simply revert it to see whether that cures much of the > > problem? > > So the problem with that is that "pmd_set_numa()" and friends

[PATCH 1/2] ASoC: wm8996: match wait_for_completion_timeout return type

2015-03-08 Thread Nicholas Mc Guire
return type of wait_for_completion_timeout is unsigned long not int. An appropriately named unsigned long is added and the assignment fixed up in case of completion occurring the remaining time is >=1 so ret is set to 1 if no timeout occurred. Signed-off-by: Nicholas Mc Guire --- This was only c

[PATCH 2/2] ASoC: wm8996: ensure lower bounds of 1 for timeout

2015-03-08 Thread Nicholas Mc Guire
wait_for_completion_timeout can be called with timeout == 0 due to msecs_to_jiffies(2) == 1 for HZ < 1000 and usecs_to_jiffies(300) == 1 for all reasonable values of HZ, thus the following timeout /= 2; sets timeout to 0. This patch simply adds a lower-bounds of 1. Signed-off-by: Nicholas Mc Guire

Re: [PATCH 0/3] mtd: nand: add Broadcom NAND controller support

2015-03-08 Thread Rafał Miłecki
On 8 March 2015 at 01:57, Brian Norris wrote: > 2. Endianness is a known issue with at least one other platform. On many > chips (spanning MIPS LE, MIPS BE, and ARM LE), NAND has been integrated > such that data can just be read/programmed in the native endianness > through the FLASH_CACHE registe

[PATCH] Driver core: Fix missing whitespace in function argument

2015-03-08 Thread Florin Papa
Found this using checkpatch.pl. Signed-off-by: Florin Papa --- drivers/base/property.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/property.c b/drivers/base/property.c index c458458..423df59 100644 --- a/drivers/base/property.c +++ b/drivers/base/property.c @

iptables problem upgrading kernel from 3.18.8 to 3.19.1

2015-03-08 Thread David R
I've just had an exception to my "uneventful kernel upgrade" monotony. My boot scripts failed when setting up the firewall due to this :- xt_recent: hitcount (1) is larger than packets to be remembered (1) for table This is a completely straightforward iptables -A -j REJECT -p

[PATCH] drivers: base: map: Use kmalloc_array instead of kmalloc

2015-03-08 Thread Andrei Poenaru
Reported by checkpatch.pl While at it, removed blank line between function call and error checking. Signed-off-by: Andrei Poenaru --- drivers/base/map.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/base/map.c b/drivers/base/map.c index e87017f..c1d3823 100644 --

[PATCH] drivers: base: memory: Fix switch indent

2015-03-08 Thread Ioana Ciornei
From: IoanaCiornei Signed-off-by: Ioana Ciornei --- drivers/base/memory.c | 54 +-- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/drivers/base/memory.c b/drivers/base/memory.c index 0c871c9..9b5dc89 100644 --- a/drivers/base/memo

[PATCH] attribute_container: fix missing blank lines after declarations

2015-03-08 Thread Cosmin Dragomir
Found with checkpatch.pl Signed-off-by: Cosmin Dragomir --- drivers/base/attribute_container.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/base/attribute_container.c b/drivers/base/attribute_container.c index 3ead3af..2ba4cac 100644 --- a/drivers/base/attribute_container.c +++

[PATCH] drivers: base: class: Add a blank line after declarations

2015-03-08 Thread Cosmin Tomulescu
This patch fixes the following warning found by checkpatch.pl: WARNING: Missing a black line after declarations Signed-off-by: Cosmin Tomulescu --- drivers/base/class.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/base/class.c b/drivers/base/class.c index f96f704..6e81088 100644

[PATCH] drivers: base: dma-mapping: Erase blank space after pointer

2015-03-08 Thread Marius Cristian Eseanu
This patch fixes the following checkpatch.pl error: ERROR: "foo * bar" should be "foo *bar" Signed-off-by: Marius Cristian Eseanu --- drivers/base/dma-mapping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/dma-mapping.c b/drivers/base/dma-mapping.c index 9e8bb

Re: [PATCH] rt2x00: use rt2x00queue_flush_queues() instead of implementing the same action

2015-03-08 Thread Stanislaw Gruszka
On Sat, Mar 07, 2015 at 08:45:50PM +02iee80211_ops00, Giedrius Statkevičius wrote: > Use rt2x00queue_flush_queues() in rt2x00mac_flush() instead of > reimplementing the same actions the second time. Also, now it flushes > the rx queue aswell which it didn't before and that makes it completely > do

[PATCH] firmware_class: Fix whitespace and indentation

2015-03-08 Thread Andrei Oprea
Fix checkpatch.pl issues with coding style. Removed whitespace and fixed indentation Signed-off-by: Andrei Oprea --- drivers/base/firmware_class.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/base/firmware_class.c b/drivers/base/firmware_class.c index 6c5c9e

[PATCH] drivers: base: memory: Use tabs instead of spaces

2015-03-08 Thread Ioana Ciornei
This patch changes spaces to tabs. Found using checkpatch.pl Signed-off-by: Ioana Ciornei --- drivers/base/memory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/base/memory.c b/drivers/base/memory.c index 9b5dc89..2804aed 100644 --- a/drivers/base/memory.c +++

[PATCH] drivers: base: node: Delete space after pointer declaration

2015-03-08 Thread Ana Nedelcu
This patch fixes the following error found by checkpatch.pl: ERROR: "foo * bar" should be "foo *bar" Signed-off-by: Ana Nedelcu --- drivers/base/node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/node.c b/drivers/base/node.c index 36fabe43..910754b 100644 ---

[PATCH] driver core: add missing blank line after declaration

2015-03-08 Thread Lavinia Tache
Found using checkpatch.pl Signed-off-by: Lavinia Tache --- drivers/base/driver.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/base/driver.c b/drivers/base/driver.c index 9e29943..4eabfe2 100644 --- a/drivers/base/driver.c +++ b/drivers/base/driver.c @@ -103,6 +103,7 @@ int driver_c

[PATCH] nits: fix several coding style warnings

2015-03-08 Thread Ioana Antoche
Fix checkpatch.pl warnings such as: * missing blank line after declarations * line over 80 characters Signed-off-by: Ioana Antoche --- drivers/base/bus.c | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/drivers/base/bus.c b/drivers/base/bus.c index 8

Re: [PATCH 1/4] Cleaned hexadecimal dump

2015-03-08 Thread Andy Shevchenko
On Sun, Mar 8, 2015 at 4:22 AM, Joe Perches wrote: > On Sat, 2015-03-07 at 12:56 -0500, Adrian Remonda wrote: >> +static void hexDump(const void *src, size_t length, size_t bLine, char >> *prefix) >> +{ > > Is there something necessary that print_hex_dump can't do? As far as I can see the tool

[PATCH] ASoC: wm5100: match wait_for_completion_timeout return type

2015-03-08 Thread Nicholas Mc Guire
return type of wait_for_completion_timeout is unsigned long not int. An appropriately named unsigned long is added and the assignment fixed up. Signed-off-by: Nicholas Mc Guire --- This was only compile tested for exynos_defconfig + CONFIG_COMPILE_TEST=y, SND_SOC_ALL_CODECS=m (implies CONFIG_SND

Re: [PATCH] iio:inv-mpu6050: Fix inconsistency for the scale channel

2015-03-08 Thread Jonathan Cameron
On 04/03/15 13:57, Suman, Viorel wrote: > >> -Original Message- >> From: linux-iio-ow...@vger.kernel.org [mailto:linux-iio- >> ow...@vger.kernel.org] On Behalf Of Adriana Reus >> Sent: Monday, February 23, 2015 4:41 PM >> To: ji...@kernel.org; linux-...@vger.kernel.org >> Cc: linux-kernel@

[PATCH] ASoC: wm2200: match wait_for_completion_timeout return type

2015-03-08 Thread Nicholas Mc Guire
return type of wait_for_completion_timeout is unsigned long not int. An appropriately named unsigned long is added and the assignment fixed up. Signed-off-by: Nicholas Mc Guire --- This was only compile tested for exynos_defconfig + CONFIG_COMPILE_TEST=y, SND_SOC_ALL_CODECS=m (implies CONFIG_SND

Re: [PATCH 0/3] mtd: nand: add Broadcom NAND controller support

2015-03-08 Thread Rafał Miłecki
On 8 March 2015 at 01:57, Brian Norris wrote: > 3. I was told that there were only 2 or 3 chips that were released with > a v6.1 NAND controller, and BCM4708 wasn't one of them. Apparently I was > told wrong... I'll have to see if there are any other quirks we should > be accounting for. Please n

Re: [PATCH v4] spi: qup: Add DMA capabilities

2015-03-08 Thread Lars-Peter Clausen
On 03/07/2015 08:43 PM, Andy Shevchenko wrote: On Sat, Mar 7, 2015 at 1:21 PM, Mark Brown wrote: On Wed, Mar 04, 2015 at 12:02:05PM +0200, Stanimir Varbanov wrote: From: Andy Gross This patch adds DMA capabilities to the spi-qup driver. If DMA channels are present, the QUP will use DMA inst

Re: [PATCH v7 0/7] Add initial support for DA9150 Charger & Fuel-Gauge IC

2015-03-08 Thread Jonathan Cameron
On 25/02/15 20:33, Sebastian Reichel wrote: > Hi, > > On Wed, Feb 18, 2015 at 02:08:19PM +, Adam Thomson wrote: >> This patch set adds initial support for the Dialog DA9150 Integrated Charger >> & >> Fuel-Gauge IC. The device also provides GPIO and GPADC functionality. >> >> In this patch set

Re: [PATCH] staging: iio: hmc5843: Set iio name property in sysfs

2015-03-08 Thread Jonathan Cameron
On 28/02/15 20:54, Marek Belisko wrote: > Without this change file name for hmc5843 is empty in > /sys/bus/iio/devices/iio\:device*/name > > With this change name is reported correctly: > cat /sys/bus/iio/devices/iio\:device*/name > hmc5843 > > Signed-off-by: Marek Belisko Good catch, thanks. A

Re: [dmidecode] [Patch v3] firmware: dmi-sysfs: add SMBIOS entry point area raw attribute

2015-03-08 Thread Jean Delvare
Hi Ivan, On Sat, 07 Mar 2015 22:53:32 +0200, Ivan.khoronzhuk wrote: > On 03/05/2015 09:46 AM, Jean Delvare wrote: > > It's not just two tables (I don't expect a lot of BIOSes to provide two > > tables in practice, and they would have essentially the same format > > anyway) but more importantly two

Re: [PATCH v2] iio: inv_mpu6050: Clear timestamps fifo while resetting hardware fifo

2015-03-08 Thread Jonathan Cameron
On 26/02/15 18:35, Ge Gao wrote: > Look fine to me. > Thanks. > > Best Regards, > > Ge GAO > Formal Acks preferred ;) Anyhow, applied to the fixes-togreg branch of iio.git. Thanks, Jonathan > > -Original Message- > From: Jonathan Cameron [mailto:ji...@kernel.org] > Sent: Saturday, F

Re: [PATCH v2] iio: inv_mpu6050: Clear timestamps fifo while resetting hardware fifo

2015-03-08 Thread Jonathan Cameron
On 08/03/15 11:31, Jonathan Cameron wrote: > On 26/02/15 18:35, Ge Gao wrote: >> Look fine to me. >> Thanks. >> >> Best Regards, >> >> Ge GAO >> > Formal Acks preferred ;) > > Anyhow, applied to the fixes-togreg branch of iio.git. Forgot to say - marked for stable as well. > > Thanks, > > Jonat

[PATCH v4] media: i2c: add support for omnivision's ov2659 sensor

2015-03-08 Thread Lad Prabhakar
From: Benoit Parrot this patch adds support for omnivision's ov2659 sensor, the driver supports following features: 1: Asynchronous probing 2: DT support 3: Media controller support Signed-off-by: Benoit Parrot Signed-off-by: Lad, Prabhakar --- Sorry quick new version, I need to get this merg

Re: [PATCH 1/1] x86/fpu: math_state_restore() should not blindly disable irqs

2015-03-08 Thread Ingo Molnar
* Ingo Molnar wrote: > Doing that would give us four (theoretical) performance advantages: > > - No implicit irq disabling overhead when the syscall instruction is > executed: we could change MSR_SYSCALL_MASK from 0xc084 to > 0xc284, which removes the implicit CLI on syscall e

linux-next: no release on Monday

2015-03-08 Thread Stephen Rothwell
Hi all, There will be no release on Monday (next-20150309) as we take a day off to celebrate our wonderful city :-) -- Cheers, Stephen Rothwells...@canb.auug.org.au pgp3Vwi92NHNI.pgp Description: OpenPGP digital signature

Re: [PATCH 1/3] Staging: iio: meter: ade7854-i2c: code style improvements

2015-03-08 Thread Jonathan Cameron
On 15/02/15 04:32, Tolga Ceylan wrote: > Code reformatting based on checkpatch.pl with --strict: > Alignment should match open paranthesis cases corrected > > Signed-off-by: Tolga Ceylan Applied to the togreg branch of iio.git - will initially be pushed out as testing for the autobuilders to play

Re: [PATCH 2/3] Staging: iio: meter: ade7854-i2c: code style improvements

2015-03-08 Thread Jonathan Cameron
On 15/02/15 04:32, Tolga Ceylan wrote: > Code reformatting based on checkpatch.pl with --strict: > Lines over 80 characters were fixed > > Signed-off-by: Tolga Ceylan You sent me a patch for this a week before this one which was applied. So already done :) > --- > drivers/staging/iio/meter/ade78

Re: [PATCH 3/3] Staging: iio: meter: ade7854-i2c: code style improvements

2015-03-08 Thread Jonathan Cameron
On 15/02/15 04:32, Tolga Ceylan wrote: > Code reformatting based on checkpatch.pl with --strict: > Comparison to NULL rewritten as !indio_dev > > Signed-off-by: Tolga Ceylan Whilst I find it hard to care on this particular fix.. what the heck. Applied to the togreg branch of iio.git. Thanks, J

Re: [PATCH V2 1/1] iio: light: Added PM support for Capella CM3232 ambient light sensor driver.

2015-03-08 Thread Jonathan Cameron
On 19/02/15 23:02, Kevin Tsai wrote: > Added Power Management Support. > > Signed-off-by: Kevin Tsai Applied to the togreg branch of iio.git - initially pushed out as testing for the autobuilders to play. Thanks, Jonathan > --- > v2: > Added CONFIG_PM_SLEEP to suspend/resume functions to fix th

Re: [PATCH v4] spi: qup: Add DMA capabilities

2015-03-08 Thread Andy Shevchenko
On Sun, Mar 8, 2015 at 1:21 PM, Lars-Peter Clausen wrote: > On 03/07/2015 08:43 PM, Andy Shevchenko wrote: >> >> On Sat, Mar 7, 2015 at 1:21 PM, Mark Brown wrote: >>> Applied, but why is there no devm_dma_request_slave_channel_reason()? >> >> I suppose the answer would be "we have a lot of sligh

[PATCH 4/4] staging: sm750fb: fix undeclared function

2015-03-08 Thread Sudip Mukherjee
kbuild test robot reported that for microblaze-allyesconfig chan_to_field() and lynxfb_ops_set_par() were not defined. These two functions were defined under CONFIG_PM, so for any archtecture if CONFIG_PM is not defined we will have this error. while moving the lynxfb_suspend() function some very o

[PATCH 2/4] staging: sm750fb: remove pragma optimize

2015-03-08 Thread Sudip Mukherjee
remove use of #pragma optimize which will usually be ignored by the compiler. Signed-off-by: Sudip Mukherjee --- drivers/staging/sm750fb/ddk750_swi2c.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_swi2c.c b/drivers/staging/sm750fb/ddk750_swi2c.c index b53

[PATCH 1/4] staging: sm750fb: wrong type for print

2015-03-08 Thread Sudip Mukherjee
mention correct format specifier while printing Signed-off-by: Sudip Mukherjee --- this patch will give checkpatch warnings about use of printk. this patch was mainly to fix the build warnings. printk will be converted to pr_* and dev_* in a later patch. drivers/staging/sm750fb/sm750.c| 24

[PATCH 3/4] staging: sm750fb: correctly define SM750LE_REVISION_ID

2015-03-08 Thread Sudip Mukherjee
check if it is already defined before defining SM750LE_REVISION_ID again and at the same time mention correct data type. Signed-off-by: Sudip Mukherjee --- drivers/staging/sm750fb/ddk750_chip.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/staging/sm750fb/ddk750_

Re: [PATCH 1/4] staging: sm750fb: wrong type for print

2015-03-08 Thread Giedrius Statkevičius
On 2015.03.08 14:31, Sudip Mukherjee wrote: > mention correct format specifier while printing > > Signed-off-by: Sudip Mukherjee > --- > > this patch will give checkpatch warnings about use of printk. > this patch was mainly to fix the build warnings. printk will be > converted to pr_* and dev_*

Re: [PATCH] nits: fix several coding style warnings

2015-03-08 Thread Greg KH
On Sun, Mar 08, 2015 at 12:53:17PM +0200, Ioana Antoche wrote: > Fix checkpatch.pl warnings such as: > * missing blank line after declarations > * line over 80 characters > > Signed-off-by: Ioana Antoche The subject: of "nits" doesn't really say where in the kernel the patch is for, please use "

[GIT PULL] char/misc driver fixes for 4.0-rc3

2015-03-08 Thread Greg KH
The following changes since commit c517d838eb7d07bbe9507871fab3931deccff539: Linux 4.0-rc1 (2015-02-22 18:21:14 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/ tags/char-misc-4.0-rc3 for you to fetch changes up to 6c15a8516

[GIT PULL] Staging driver fixes for 4.0-rc3

2015-03-08 Thread Greg KH
The following changes since commit c517d838eb7d07bbe9507871fab3931deccff539: Linux 4.0-rc1 (2015-02-22 18:21:14 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/ tags/staging-4.0-rc3 for you to fetch changes up to abe46b8932dd9

[GIT PULL] TTY/Serial fixes for 4.0-rc3

2015-03-08 Thread Greg KH
The following changes since commit 13a7a6ac0a11197edcd0f756a035f472b42cdf8b: Linux 4.0-rc2 (2015-03-03 09:04:59 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git/ tags/tty-4.0-rc3 for you to fetch changes up to c37bc682e30b8027054356

[GIT PULL] USB driver fixes for 4.0-rc3

2015-03-08 Thread Greg KH
The following changes since commit c517d838eb7d07bbe9507871fab3931deccff539: Linux 4.0-rc1 (2015-02-22 18:21:14 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.0-rc3 for you to fetch changes up to b8cb91e058cd0c0f02059c

Re: [PATCH 1/4] staging: sm750fb: wrong type for print

2015-03-08 Thread Sudip Mukherjee
On Sun, Mar 08, 2015 at 02:40:03PM +0200, Giedrius Statkevičius wrote: > On 2015.03.08 14:31, Sudip Mukherjee wrote: > > mention correct format specifier while printing > > index 711676c..2ab7b74 100644 > > --- a/drivers/staging/sm750fb/sm750.h > > +++ b/drivers/staging/sm750fb/sm750.h > > @@ -59,1

Re: [PATCH 3/4] staging: sm750fb: correctly define SM750LE_REVISION_ID

2015-03-08 Thread Giedrius Statkevičius
On 2015.03.08 14:31, Sudip Mukherjee wrote: > check if it is already defined before defining SM750LE_REVISION_ID > again and at the same time mention correct data type. > > Signed-off-by: Sudip Mukherjee > --- > drivers/staging/sm750fb/ddk750_chip.h | 4 +++- > 1 file changed, 3 insertions(+), 1

Re: [PATCH 4/4] staging: sm750fb: fix undeclared function

2015-03-08 Thread Giedrius Statkevičius
On 2015.03.08 14:31, Sudip Mukherjee wrote: > kbuild test robot reported that for microblaze-allyesconfig > chan_to_field() and lynxfb_ops_set_par() were not defined. These two > functions were defined under CONFIG_PM, so for any archtecture if > CONFIG_PM is not defined we will have this error. >

dev_get_by_name example

2015-03-08 Thread Ran Shalit
Hello, How should we use dev_get_by_name ? What should be the 1st parameter should it be a pointer ? (without allocation required) ? struct net_device *dev_get_by_name(struct net *net, const char *name); I get an exception when using it for unallocated pointer in 1st argument, but succeeded with t

[PATCH] ASoC: arizona: match wait_for_completion_timeout return type

2015-03-08 Thread Nicholas Mc Guire
return type of wait_for_completion_timeout is unsigned long not int. An appropriately named unsigned long is added and the assignment fixed up. Signed-off-by: Nicholas Mc Guire --- Note that the error message "Timed out waiting for lock" might not be that clear in a kernel log message as it co

Re: [dmidecode] [Patch v3] firmware: dmi-sysfs: add SMBIOS entry point area raw attribute

2015-03-08 Thread Ard Biesheuvel
On 8 March 2015 at 12:31, Jean Delvare wrote: > Hi Ivan, > > On Sat, 07 Mar 2015 22:53:32 +0200, Ivan.khoronzhuk wrote: >> On 03/05/2015 09:46 AM, Jean Delvare wrote: >> > It's not just two tables (I don't expect a lot of BIOSes to provide two >> > tables in practice, and they would have essential

Re: [Patch v3 3/7] x86, kaslr: Add two functions which will be used later

2015-03-08 Thread Alexander Kuleshov
Hello, May be necessary to add comments that they will be used later, to prevent patches like 'removed unused..' 2015-03-08 11:38 GMT+06:00 Baoquan He : > > Add two functions mem_min_overlap() and store_slot_info() which will be > used later. -- To unsubscribe from this list: send the line "

Re: [PATCH 1/1] x86/fpu: math_state_restore() should not blindly disable irqs

2015-03-08 Thread Andy Lutomirski
On Mar 8, 2015 4:55 AM, "Ingo Molnar" wrote: > > > * Linus Torvalds wrote: > > > On Sat, Mar 7, 2015 at 2:36 AM, Ingo Molnar wrote: > > > > > > We could save the same 10 cycles from page fault overhead as well, > > > AFAICS. > > > > Are trap gates actually noticeably faster? Or is it just he > >

Re: [PATCH 1/2] i2c_imc: New driver for Intel's iMC, found on LGA2011 chips

2015-03-08 Thread Andy Lutomirski
On Mar 7, 2015 6:39 AM, "Guenter Roeck" wrote: > > On 03/06/2015 06:50 PM, Andy Lutomirski wrote: >> >> Sandy Bridge Xeon and Extreme chips have integrated memory >> controllers with (rather limited) onboard SMBUS masters. This >> driver gives access to the bus. >> >> There are various groups wor

Re: dev_get_by_name example

2015-03-08 Thread Richard Weinberger
On Sun, Mar 8, 2015 at 2:04 PM, Ran Shalit wrote: > Hello, > > How should we use dev_get_by_name ? > What should be the 1st parameter should it be a pointer ? (without > allocation required) ? The network namespace you want to use. > struct net_device *dev_get_by_name(struct net *net, const char

Re: [PATCH 2/2] i2c, i2c_imc: Add DIMM bus code

2015-03-08 Thread Andy Lutomirski
On Sat, Mar 7, 2015 at 8:03 AM, Guenter Roeck wrote: > On 03/06/2015 06:50 PM, Andy Lutomirski wrote: >> >> Add i2c_scan_dimm_bus to declare that a particular i2c_adapter >> contains DIMMs. This will probe (and autoload modules!) for useful >> SMBUS devices that live on DIMMs. i2c_imc calls it.

[PATCH 1/2] serial: 8250: allow specifying iomem size in addition to address

2015-03-08 Thread Mans Rullgard
This adds a mapsize field to struct uart_port to be used in conjunction with mapbase. If set, it overrides whatever value serial8250_port_size() would otherwise report. Signed-off-by: Mans Rullgard --- drivers/tty/serial/8250/8250_core.c | 4 include/linux/serial_core.h | 1 + 2 fil

[PATCH 2/2] serial: of: set port iomem size from devicetree

2015-03-08 Thread Mans Rullgard
Make the 8250 driver reserve exactly the mmio region specified in the devicetree. This prevents conflicts between UPIO_AU type UARTs and other devices mapped closer than the default size of 0x1000 (or 0x100 for RT2880). Signed-off-by: Mans Rullgard --- drivers/tty/serial/of_serial.c | 1 + 1 fil

Re: [PATCH 1/1] x86/fpu: math_state_restore() should not blindly disable irqs

2015-03-08 Thread Andy Lutomirski
On Sun, Mar 8, 2015 at 6:59 AM, Andy Lutomirski wrote: > There's another problem, though: We don't have a real stack pointer > just after syscall and just before sysexit, and therefore we *must* > use IST for anything that can happen while we still have > user-controlled rsp. That includes #DB,

[PATCH] drivers/base: use tabs where possible in code indentation

2015-03-08 Thread Lavinia Tache
Found problem checkpatch.pl Signed-off-by: Lavinia Tache --- drivers/base/soc.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/base/soc.c b/drivers/base/soc.c index 72b5e72..39fca01 100644 --- a/drivers/base/soc.c +++ b/drivers/base/soc.c @@ -43,8 +43,8 @@

[PATCH v4 00/17] media: blackfin: bfin_capture enhancements

2015-03-08 Thread Lad Prabhakar
From: "Lad, Prabhakar" This patch series, enhances blackfin capture driver with vb2 helpers. Changes for v4: 1: Improved commit message for path 4/17 and 5/17. 2: Added Ack's from Scott to patches 1-15 3: Two new patches 16/17 and 17/17 Lad, Prabhakar (17): media: blackfin: bfin_capture: drop

[PATCH v4 13/17] media: blackfin: bfin_capture: add support for VB2_DMABUF

2015-03-08 Thread Lad Prabhakar
From: "Lad, Prabhakar" this patch adds support for VB2_DMABUF. Signed-off-by: Lad, Prabhakar Acked-by: Scott Jiang Tested-by: Scott Jiang --- drivers/media/platform/blackfin/bfin_capture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/blackfin/bfi

[PATCH v4 17/17] media: blackfin: bfin_capture: embed video_device struct in bcap_device

2015-03-08 Thread Lad Prabhakar
From: "Lad, Prabhakar" Embed video_device struct (video_dev) in bcap_device and Unregister path doesn't need to free the video_device structure, hence, change the video_device.release callback point to video_device_release_empty. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/blackfi

[PATCH v4 15/17] media: blackfin: bfin_capture: set v4l2 buffer sequence

2015-03-08 Thread Lad Prabhakar
From: "Lad, Prabhakar" this patch adds support to set the v4l2 buffer sequence. Signed-off-by: Lad, Prabhakar Acked-by: Scott Jiang Tested-by: Scott Jiang --- drivers/media/platform/blackfin/bfin_capture.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/media/platform/blackf

[PATCH v4 16/17] media: blackfin: bfin_capture: drop bcap_get_unmapped_area()

2015-03-08 Thread Lad Prabhakar
From: "Lad, Prabhakar" this patch drops bcap_get_unmapped_area() and uses vb2_fop_get_unmapped_area() helper provided by the vb2 core. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/blackfin/bfin_capture.c | 19 +-- 1 file changed, 1 insertion(+), 18 deletions(-) dif

[PATCH v4 12/17] media: blackfin: bfin_capture: add support for vidioc_create_bufs

2015-03-08 Thread Lad Prabhakar
From: "Lad, Prabhakar" this patch adds support for vidioc_create_bufs. Signed-off-by: Lad, Prabhakar Acked-by: Scott Jiang Tested-by: Scott Jiang --- drivers/media/platform/blackfin/bfin_capture.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/blackfin/bfin_captur

[PATCH v4 07/17] media: blackfin: bfin_capture: use v4l2_fh_open and vb2_fop_release

2015-03-08 Thread Lad Prabhakar
From: "Lad, Prabhakar" this patch adds support to use v4l2_fh_open() and vb2_fop_release, which allows to drop driver specific struct bcap_fh, as this is handled by core. Signed-off-by: Lad, Prabhakar Acked-by: Scott Jiang Tested-by: Scott Jiang --- drivers/media/platform/blackfin/bfin_captu

[PATCH v4 14/17] media: blackfin: bfin_capture: add support for VIDIOC_EXPBUF

2015-03-08 Thread Lad Prabhakar
From: "Lad, Prabhakar" this patch adds support for VIDIOC_EXPBUF. Signed-off-by: Lad, Prabhakar Acked-by: Scott Jiang Tested-by: Scott Jiang --- drivers/media/platform/blackfin/bfin_capture.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/blackfin/bfin_capture.c

[PATCH] drivers/base: use tabs where possible in code indentation

2015-03-08 Thread Lavinia Tache
Found problem checkpatch.pl Signed-off-by: Lavinia Tache --- drivers/base/soc.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/base/soc.c b/drivers/base/soc.c index 72b5e72..39fca01 100644 --- a/drivers/base/soc.c +++ b/drivers/base/soc.c @@ -43,8 +43,8 @@

[PATCH v4 10/17] media: blackfin: bfin_capture: return -ENODATA for *std calls

2015-03-08 Thread Lad Prabhakar
From: "Lad, Prabhakar" this patch adds supports to return -ENODATA to *_std calls if the selected output does not support it. Signed-off-by: Lad, Prabhakar Acked-by: Scott Jiang Tested-by: Scott Jiang --- drivers/media/platform/blackfin/bfin_capture.c | 15 +++ 1 file changed, 15

[PATCH v4 03/17] media: blackfin: bfin_capture: set min_buffers_needed

2015-03-08 Thread Lad Prabhakar
From: "Lad, Prabhakar" this patch sets the min_buffers_needed field of the vb2 queue so that the vb2 core will make sure start_streaming() callback is called only when we have minimum buffers queued. Signed-off-by: Lad, Prabhakar Acked-by: Scott Jiang Tested-by: Scott Jiang --- drivers/media

[PATCH v4 11/17] media: blackfin: bfin_capture: return -ENODATA for *dv_timings calls

2015-03-08 Thread Lad Prabhakar
From: "Lad, Prabhakar" this patch adds support to return -ENODATA for *dv_timings calls if the current output does not support it. Signed-off-by: Lad, Prabhakar Acked-by: Scott Jiang Tested-by: Scott Jiang --- drivers/media/platform/blackfin/bfin_capture.c | 21 + 1 file

[PATCH v4 05/17] media: blackfin: bfin_capture: improve queue_setup() callback

2015-03-08 Thread Lad Prabhakar
From: "Lad, Prabhakar" This patch does the following: a: returns -EINVAL in case format image size is less then current image size. b: assigns nbuffers to two in case the total of vq->num_buffers and nbuffers is less then the number of buffers required by driver. c: sets the sizes[0] of pla

[PATCH v4 09/17] media: blackfin: bfin_capture: make sure all buffers are returned on stop_streaming() callback

2015-03-08 Thread Lad Prabhakar
From: "Lad, Prabhakar" In start_streaming() callback the buffer is removed from the dma_queue list and assigned to cur_frm, this patch makes sure that is returned to vb2 core with VB2_BUF_STATE_ERROR flag. Signed-off-by: Lad, Prabhakar Acked-by: Scott Jiang Tested-by: Scott Jiang --- drivers

[PATCH v4 02/17] media: blackfin: bfin_capture: release buffers in case start_streaming() call back fails

2015-03-08 Thread Lad Prabhakar
From: "Lad, Prabhakar" this patch adds support to release the buffer by calling vb2_buffer_done(), with state marked as VB2_BUF_STATE_QUEUED if start_streaming() call back fails. Signed-off-by: Lad, Prabhakar Acked-by: Scott Jiang Tested-by: Scott Jiang --- drivers/media/platform/blackfin/bf

[PATCH v4 08/17] media: blackfin: bfin_capture: use vb2_ioctl_* helpers

2015-03-08 Thread Lad Prabhakar
From: "Lad, Prabhakar" this patch adds support to vb2_ioctl_* helpers. Signed-off-by: Lad, Prabhakar Acked-by: Scott Jiang Tested-by: Scott Jiang --- drivers/media/platform/blackfin/bfin_capture.c | 103 + 1 file changed, 18 insertions(+), 85 deletions(-) diff --git

[PATCH v4 06/17] media: blackfin: bfin_capture: use vb2_fop_mmap/poll

2015-03-08 Thread Lad Prabhakar
From: "Lad, Prabhakar" No need to reinvent the wheel. Just use the already existing functions provided by vb2. Signed-off-by: Lad, Prabhakar Acked-by: Scott Jiang Tested-by: Scott Jiang --- drivers/media/platform/blackfin/bfin_capture.c | 28 +++--- 1 file changed, 3 inse

[PATCH v4 01/17] media: blackfin: bfin_capture: drop buf_init() callback

2015-03-08 Thread Lad Prabhakar
From: "Lad, Prabhakar" this patch drops the buf_init() callback as init of buf list is not required. Signed-off-by: Lad, Prabhakar Acked-by: Scott Jiang Tested-by: Scott Jiang --- drivers/media/platform/blackfin/bfin_capture.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drive

[PATCH v4 04/17] media: blackfin: bfin_capture: set vb2 buffer field

2015-03-08 Thread Lad Prabhakar
From: "Lad, Prabhakar" set the vb2 buffer field in buf_prepare() callback, alongside drop local variable buf as we already have a pointer to vb2 buffer. Signed-off-by: Lad, Prabhakar Acked-by: Scott Jiang Tested-by: Scott Jiang --- drivers/media/platform/blackfin/bfin_capture.c | 8

[PATCH] resource: remove deprecated __check_region() and friends

2015-03-08 Thread Jakub Sitnicki
All users of __check_region(), check_region(), and check_mem_region() are gone. We got rid of the last user in v4.0-rc1. Remove them. bloat-o-meter on x86_64 shows: add/remove: 0/3 grow/shrink: 0/0 up/down: 0/-102 (-102) function old new delta __kstrtab__

LAON AANBIEDING OP 1,5% rente

2015-03-08 Thread DIAMOND SWISS LOAN COMPANY
Goede dag, We zijn Diamond Zwitserse lening bedrijf het geven van leningen per post advertentie. Wij bieden verschillende soorten leningen (korte en lange termijn leningen, persoonlijke leningen, leningen aan bedrijven etc.) met 1,5% rente. We geven leningen aan mensen in nood niet

Re: [PATCH 1/1] usb: xhci: handle Config Error Change (CEC) in xhci driver

2015-03-08 Thread Alan Stern
On Sun, 8 Mar 2015, Lu, Baolu wrote: > Hi Alan, > > Do you have any comments for this patch? No comments. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/m

Re: [PATCH] usb gadget: remove size limitation for storage cdrom

2015-03-08 Thread Alan Stern
On Sun, 8 Mar 2015, Dave Young wrote: > I used usb cdrom emulation to play video dvd for my daughter, but I got below > error: > > [dave@darkstar tmp]$ cat /mnt/sr1/VIDEO_TS/VTS_01_5.VOB >/dev/null > cat: /mnt/sr1/VIDEO_TS/VTS_01_5.VOB: Input/output error > [dave@darkstar tmp]$ dmesg|tail -1 > [

Re: [PATCH 1/4] PM / Wakeirq: Add minimal device wakeirq helper functions

2015-03-08 Thread Alan Stern
On Sat, 7 Mar 2015, Rafael J. Wysocki wrote: > > > Well right now it's using threaded irq, and I'd like to get rid of > > > I'll verify again, but I believe the issue was that without doing > > > mark_last_busy here the device falls back asleep right away. > > > That probably should be fixed in pm

Re: [PATCH 1/2] i2c_imc: New driver for Intel's iMC, found on LGA2011 chips

2015-03-08 Thread Guenter Roeck
On 03/08/2015 07:03 AM, Andy Lutomirski wrote: On Mar 7, 2015 6:39 AM, "Guenter Roeck" wrote: On 03/06/2015 06:50 PM, Andy Lutomirski wrote: Sandy Bridge Xeon and Extreme chips have integrated memory controllers with (rather limited) onboard SMBUS masters. This driver gives access to the bu

Re: [PATCH 1/4] PM / Wakeirq: Add minimal device wakeirq helper functions

2015-03-08 Thread Alan Stern
On Fri, 6 Mar 2015, Tony Lindgren wrote: > > > I'll verify again, but I believe the issue was that without doing > > > mark_last_busy here the device falls back asleep right away. As it should. If you don't increment the usage counter (for example, by calling pm_runtime_get instead of pm_reques

Re: [PATCH 1/4] PM / Wakeirq: Add minimal device wakeirq helper functions

2015-03-08 Thread Alan Stern
On Sat, 7 Mar 2015, Rafael J. Wysocki wrote: > But this is part of a bigger picture. Namely, if a separete wakeup interrupt > is required for a device, the device's power.can_wakeup flag cannot be set > until that interrupt has been successfully requested. Also for devices that > can signal wake

[PATCH] staging: rtl8188eu: use %*ph specifier instead of passing direct values

2015-03-08 Thread Mike Krinkin
The %*ph specifier allows to pass a pointer and length instead of pushing each byte via stack. The patch converts code to use it. Signed-off-by: Mike Krinkin --- drivers/staging/rtl8188eu/hal/usb_halinit.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/

Re: [PATCH 1/4] Cleaned hexadecimal dump

2015-03-08 Thread Joe Perches
On Sun, 2015-03-08 at 12:53 +0200, Andy Shevchenko wrote: > On Sun, Mar 8, 2015 at 4:22 AM, Joe Perches wrote: > > On Sat, 2015-03-07 at 12:56 -0500, Adrian Remonda wrote: > > >> +static void hexDump(const void *src, size_t length, size_t bLine, char > >> *prefix) > > Is there something necessar

  1   2   3   4   >