Re: [PATCH] Staging: media: Added semicolon.

2014-10-06 Thread Hans Verkuil
On 10/04/2014 08:43 PM, Stevean Raja Kumar wrote: > Added semicolon for the line usleep_range(1, 11000); Against which kernel is this patch? I don't see a usleep_range in either the mainline kernel or the media_tree.git kernel. Regards, Hans > > Signed-off-by: Stevean Raja Kumar

[PATCH 1/1] [ion]: system-heap use PAGE_ALLOC_COSTLY_ORDER for high order

2014-10-06 Thread Pintu Kumar
The Android ion_system_heap uses allocation fallback mechanism based on 8,4,0 order pages available in the system. It changes gfp flags based on higher order allocation request. This higher order value is hard-coded as 4, instead of using the system defined higher order value. Thus replacing this h

Re: [PATCH 1/1] [ion]: system-heap use PAGE_ALLOC_COSTLY_ORDER for high order

2014-10-06 Thread Heesub Shin
Hello Kumar, On 10/06/2014 05:31 PM, Pintu Kumar wrote: The Android ion_system_heap uses allocation fallback mechanism based on 8,4,0 order pages available in the system. It changes gfp flags based on higher order allocation request. This higher order value is hard-coded as 4, instead of using t

Re: [PATCH v3] staging: Add Xilinx Clocking Wizard driver

2014-10-06 Thread Laurent Pinchart
Hi Sören, Thank you for the patch. On Thursday 02 October 2014 09:13:35 Soren Brinkmann wrote: > Add a driver for the Xilinx Clocking Wizard soft IP. The clocking wizard > provides an AXI interface to dynamically reconfigure the clocking > resources of Xilinx FPGAs. > > Signed-off-by: Soren Brin

Re: [PATCH 1/1] [ion]: system-heap use PAGE_ALLOC_COSTLY_ORDER for high order

2014-10-06 Thread Laura Abbott
On 10/6/2014 3:27 AM, Heesub Shin wrote: Hello Kumar, On 10/06/2014 05:31 PM, Pintu Kumar wrote: The Android ion_system_heap uses allocation fallback mechanism based on 8,4,0 order pages available in the system. It changes gfp flags based on higher order allocation request. This higher order va

Re: Re: [PATCH 1/1] [ion]: system-heap use PAGE_ALLOC_COSTLY_ORDER for high order

2014-10-06 Thread PINTU KUMAR
Hi, > > From: Laura Abbott >To: Heesub Shin ; Pintu Kumar ; >a...@linux-foundation.org; gre...@linuxfoundation.org; john.stu...@linaro.org; >rebe...@android.com; ccr...@android.com; de...@driverdev.osuosl.org; >linux-ker...@vger.kernel.org >Cc: iqbal@samsung

Re: [PATCH] Staging: media: Added semicolon.

2014-10-06 Thread Greg KH
On Mon, Oct 06, 2014 at 08:18:28PM +0530, Stevean Rk wrote: > > Its against  3.17.0-rc6+ > I had cloned the Greg Kroah-Hartman's staging tree repository. > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git Which branch? 3.17-rc6 is quite old, you need to work against the staging-n

Re: Re: [PATCH 1/1] [ion]: system-heap use PAGE_ALLOC_COSTLY_ORDER for high order

2014-10-06 Thread Colin Cross
On Mon, Oct 6, 2014 at 9:26 AM, PINTU KUMAR wrote: > > Hi, > > > > From: Laura Abbott > >To: Heesub Shin ; Pintu Kumar > >; a...@linux-foundation.org; > >gre...@linuxfoundation.org; john.stu...@linaro.org; rebe...@android.com; > >ccr...@android.com; de...@driver

Re: RTL8188SU(r8712u) - Unable to suspend/resume

2014-10-06 Thread poma
$ dmesg ... [1.462812] usb 1-4: new high-speed USB device number 4 using ehci-pci [1.579359] usb 1-4: New USB device found, idVendor=0bda, idProduct=8171 [1.579360] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [1.579361] usb 1-4: Product: RTL8188S WLAN Adapter

Re: [PATCH] mfd: rtsx: fix PM suspend for 5227 & 5249

2014-10-06 Thread Lee Jones
On Thu, 18 Sep 2014, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > Fix rts5227&5249 failed send buffer cmd after suspend, > PM_CTRL3 should reset before send any buffer cmd after suspend. > Otherwise, buffer cmd will failed, this will lead resume fail. > > Signed-off-by: Micky Ching

[PATCH 42/44] efi: Register poweroff handler with kernel poweroff handler

2014-10-06 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with low priority value of 64 since the efi code states that this is a poweroff handler of last resort. Cc: Matt Fleming Signed-off-by: Guenter Roeck --- drivers/firmware/efi/reboot.c | 23 +

[PATCH 39/44] x86: ce4100: Register with kernel poweroff handler

2014-10-06 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: H. Peter Anvin Signed-off-by: Guenter Roeck --- arch/x86/platform/ce4100/ce4100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/platform/ce410

[PATCH 17/44] mfd: tps65910: Register with kernel poweroff handler

2014-10-06 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with a low priority value of 64 to reflect that the original code only sets pm_power_off if it was not already set. Cc: Samuel Ortiz Cc: Lee Jones Signed-off-by: Guenter Roeck --- drivers/mfd/tps65910.c

[PATCH 08/44] kernel: Move pm_power_off to common code

2014-10-06 Thread Guenter Roeck
pm_power_off is defined for all architectures. Move it to common code. Have all architectures call do_kernel_poweroff instead of pm_power_off. Some architectures point pm_power_off to machine_power_off. For those, call do_kernel_poweroff from machine_power_off instead. Cc: Richard Henderson Cc:

[PATCH 09/44] mfd: palmas: Register with kernel poweroff handler

2014-10-06 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with a low priority value of 64 to reflect that the original code only sets pm_power_off if it was not already set. Cc: Samuel Ortiz Cc: Lee Jones Signed-off-by: Guenter Roeck --- drivers/mfd/palmas.c

[PATCH 23/44] power/reset: qnap-poweroff: Register with kernel poweroff handler

2014-10-06 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with default priority value of 128 to reflect that the original code generates an error if another poweroff handler has already been registered when the driver is loaded. Cc: Sebastian Reichel Cc: Dmitry Erem

[PATCH 06/44] gpio-poweroff: Drop reference to pm_power_off from devicetree bindings

2014-10-06 Thread Guenter Roeck
pm_power_off is an implementation detail. Replace it with a more generic description of the driver's functionality. Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Signed-off-by: Guenter Roeck --- Documentation/devicetree/bindings/gpio/gpio-poweroff.txt | 10 +- 1 file changed, 5 inse

[PATCH 21/44] power/reset: gpio-poweroff: Register with kernel poweroff handler

2014-10-06 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with a low priority value of 64 to reflect that the original code only sets pm_power_off if it was not already set. Other changes: Drop note that there can not be an additional instance of this driver. The or

[PATCH 22/44] power/reset: as3722-poweroff: Register with kernel poweroff handler

2014-10-06 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with a low priority value of 64 to reflect that the original code only sets pm_power_off if it was not already set. Cc: Sebastian Reichel Cc: Dmitry Eremin-Solenikov Cc: David Woodhouse Signed-off-by: Guent

[PATCH 07/44] qnap-poweroff: Drop reference to pm_power_off from devicetree bindings

2014-10-06 Thread Guenter Roeck
Replace reference to pm_power_off (which is an implementation detail) and replace it with a more generic description of the driver's functionality. Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Signed-off-by: Guenter Roeck --- Documentation/devicetree/bindings/power_supply/qnap-poweroff.txt

[PATCH 40/44] x86: intel-mid: Drop registration of dummy poweroff handlers

2014-10-06 Thread Guenter Roeck
A dummy poweroff handler does not serve any purpose. Drop it. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: H. Peter Anvin Signed-off-by: Guenter Roeck --- arch/x86/platform/intel-mid/intel-mid.c | 5 - arch/x86/platform/intel-mid/mfld.c | 5 - 2 files changed, 10 deletions(-) diff --

[PATCH 13/44] mfd: max8907: Register with kernel poweroff handler

2014-10-06 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with a low priority value of 64 to reflect that the original code only sets pm_power_off if it was not already set. Note that this patch fixes a problem on driver unload as side effect: The old code did not re

[PATCH 36/44] mips: Register with kernel poweroff handler

2014-10-06 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. If there is an indication that there can be more than one poweroff handler, use register_poweroff_handler, otherwise use register_poweroff_handler_simple to register the poweroff handler. If the poweroff handler only

[PATCH 31/44] arm: Register with kernel poweroff handler

2014-10-06 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Always use register_poweroff_handler_simple as there is no indication that more than one poweroff handler is registered. If the poweroff handler only resets the system or puts the CPU in sleep mode, select a priority o

[PATCH 32/44] arm64: psci: Register with kernel poweroff handler

2014-10-06 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Cc: Catalin Marinas Cc: Will Deacon Signed-off-by: Guenter Roeck --- arch/arm64/kernel/psci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kernel/psci.c b/arch/arm64/kernel/psci.c

[PATCH 33/44] avr32: atngw100: Register with kernel poweroff handler

2014-10-06 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Cc: Haavard Skinnemoen Cc: Hans-Christian Egtvedt Signed-off-by: Guenter Roeck --- arch/avr32/boards/atngw100/mrmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/avr32/boards/atngw100/mr

[PATCH 43/44] hwmon: (ab8500) Call kernel_power_off instead of pm_power_off

2014-10-06 Thread Guenter Roeck
Drivers should not call pm_power_off directly; it is not guaranteed to be non-NULL. Call kernel_power_off instead. Cc: Jean Delvare Reviewed-by: Jean Delvare Signed-off-by: Guenter Roeck --- drivers/hwmon/ab8500.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers

[PATCH 26/44] x86: iris: Register with kernel poweroff handler

2014-10-06 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with high priority value of 192 to reflect that the original code overwrites existing poweroff handlers. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: H. Peter Anvin Signed-off-by: Guenter Roeck --- arch/x86/pl

[PATCH 04/44] m68k: Replace mach_power_off with pm_power_off

2014-10-06 Thread Guenter Roeck
Replace mach_power_off with pm_power_off to simplify the subsequent move of pm_power_off to generic code. Cc: Geert Uytterhoeven Cc: Greg Ungerer Cc: Joshua Thompson Signed-off-by: Guenter Roeck --- arch/m68k/emu/natfeat.c | 3 ++- arch/m68k/include/asm/machdep.h | 1 - arch/m68k/kern

[PATCH 18/44] mfd: twl4030-power: Register with kernel poweroff handler

2014-10-06 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with a low priority value of 64 to reflect that the original code only sets pm_power_off if it was not already set. Make twl4030_power_off static as it is only called from the twl4030-power driver. Cc: Samuel

[PATCH 27/44] x86: apm: Register with kernel poweroff handler

2014-10-06 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with high priority value of 192 to reflect that the original code overwrites existing poweroff handlers. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: H. Peter Anvin Cc: Jiri Kosina Signed-off-by: Guenter Roeck

[PATCH 01/44] kernel: Add support for poweroff handler call chain

2014-10-06 Thread Guenter Roeck
Various drivers implement architecture and/or device specific means to remove power from the system. For the most part, those drivers set the global variable pm_power_off to point to a function within the driver. This mechanism has a number of drawbacks. Typically only one scheme to remove power

[PATCH 34/44] ia64: Register with kernel poweroff handler

2014-10-06 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with lower priority of 64 to reflect that the call is expected to be replaced at some point. Cc: Tony Luck Cc: Fenghua Yu Signed-off-by: Guenter Roeck --- arch/ia64/sn/kernel/setup.c | 4 ++-- 1 file chang

[PATCH 14/44] mfd: tps80031: Register with kernel poweroff handler

2014-10-06 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with a low priority value of 64 to reflect that the original code only sets pm_power_off if it was not already set. Cc: Samuel Ortiz Cc: Lee Jones Signed-off-by: Guenter Roeck --- drivers/mfd/tps80031.c

[PATCH 15/44] mfd: dm355evm_msp: Register with kernel poweroff handler

2014-10-06 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with a low priority value of 64 to reflect that the original code only sets pm_power_off if it was not already set. Cc: Samuel Ortiz Cc: Lee Jones Signed-off-by: Guenter Roeck --- drivers/mfd/dm355evm_msp.

[PATCH 24/44] power/reset: msm-powroff: Register with kernel poweroff handler

2014-10-06 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Select proprity 0 since the code does not really poweroff the system. Signed-off-by: Guenter Roeck --- drivers/power/reset/msm-poweroff.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --g

[PATCH 16/44] mfd: tps6586x: Register with kernel poweroff handler

2014-10-06 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with a low priority value of 64 to reflect that the original code only sets pm_power_off if it was not already set. Cc: Samuel Ortiz Cc: Lee Jones Signed-off-by: Guenter Roeck --- drivers/mfd/tps6586x.c |

[PATCH 25/44] power/reset: vexpress-poweroff: Register with kernel poweroff handler

2014-10-06 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Signed-off-by: Guenter Roeck --- drivers/power/reset/vexpress-poweroff.c | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/drivers/power/reset/vexpress-poweroff.c b/drivers/pow

[PATCH 19/44] ipmi: Register with kernel poweroff handler

2014-10-06 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with a high priority value of 192 to reflect that the original code overwrites pm_power_off unconditionally. Register poweroff handler after the ipmi system is ready, and unregister it prior to cleanup. This a

[PATCH 38/44] x86: lguest: Register with kernel poweroff handler

2014-10-06 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Cc: Rusty Russell Cc: Thomas Gleixner Cc: Ingo Molnar Cc: H. Peter Anvin Signed-off-by: Guenter Roeck --- arch/x86/lguest/boot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/lguest

[PATCH 20/44] power/reset: restart-poweroff: Register with kernel poweroff handler

2014-10-06 Thread Guenter Roeck
Register with kernel poweroff handler instead of seting pm_power_off directly. Register as poweroff handler of last resort since the driver does not really power off the system but executes a restart. Cc: Sebastian Reichel Cc: Dmitry Eremin-Solenikov Cc: David Woodhouse Signed-off-by: Guenter

[PATCH 11/44] mfd: retu: Register with kernel poweroff handler

2014-10-06 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with a low priority value of 64 to reflect that the original code only sets pm_power_off if it was not already set. Cc: Lee Jones Cc: Samuel Ortiz Signed-off-by: Guenter Roeck --- drivers/mfd/retu-mfd.c |

[PATCH 44/44] kernel: Remove pm_power_off

2014-10-06 Thread Guenter Roeck
No users of pm_power_off are left, so it is safe to remove the function. Cc: Rafael J. Wysocki Cc: Pavel Machek Cc: Len Brown Signed-off-by: Guenter Roeck --- include/linux/pm.h | 1 - kernel/power/poweroff_handler.c | 10 +- 2 files changed, 1 insertion(+), 10 deletions

[PATCH 35/44] m68k: Register with kernel poweroff handler

2014-10-06 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Cc: Geert Uytterhoeven Cc: Joshua Thompson Signed-off-by: Guenter Roeck --- arch/m68k/emu/natfeat.c | 2 +- arch/m68k/mac/config.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/m68k/e

[PATCH 10/44] mfd: axp20x: Register with kernel poweroff handler

2014-10-06 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with a low priority value of 64 to reflect that the original code only sets pm_power_off if it was not already set. Cc: Lee Jones Cc: Samuel Ortiz Signed-off-by: Guenter Roeck --- drivers/mfd/axp20x.c

[PATCH 12/44] mfd: ab8500-sysctrl: Register with kernel poweroff handler

2014-10-06 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with a low priority value of 64 to reflect that the original code only sets pm_power_off if it was not already set. Cc: Linus Walleij Cc: Lee Jones Cc: Samuel Ortiz Signed-off-by: Guenter Roeck --- driver

[PATCH 02/44] memory: emif: Use API function to determine poweroff capability

2014-10-06 Thread Guenter Roeck
Use have_kernel_poweroff() to determine if the kernel is able to power off the system. Cc: Santosh Shilimkar Signed-off-by: Guenter Roeck --- drivers/memory/emif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/memory/emif.c b/drivers/memory/emif.c index 04644e7

[PATCH 37/44] sh: Register with kernel poweroff handler

2014-10-06 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Signed-off-by: Guenter Roeck --- arch/sh/boards/board-sh7785lcr.c | 2 +- arch/sh/boards/board-urquell.c | 2 +- arch/sh/boards/mach-highlander/setup.c | 2 +- arch/sh/boards/mach-landisk/setup.c| 2

[PATCH 03/44] hibernate: Call have_kernel_poweroff instead of checking pm_power_off

2014-10-06 Thread Guenter Roeck
Poweroff handlers may now be installed with register_poweroff_handler. Use the new API function have_kernel_poweroff to determine if a poweroff handler has been installed. Cc: Rafael J. Wysocki Cc: Pavel Machek Cc: Len Brown Signed-off-by: Guenter Roeck --- kernel/power/hibernate.c | 2 +- 1

[PATCH 41/44] x86: pmc_atom: Register poweroff handler with kernel poweroff handler

2014-10-06 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with a low priority value of 64 to reflect that the original code only sets pm_power_off if it was not already set. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: H. Peter Anvin Signed-off-by: Guenter Roeck ---

[PATCH 30/44] acpi: Register poweroff handler with kernel poweroff handler

2014-10-06 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with high priority value of 192 to reflect that the driver explicitly overrides existing poweroff handlers. Cc: Rafael J. Wysocki Cc: Len Brown Signed-off-by: Guenter Roeck --- drivers/acpi/sleep.c | 15 ++

[PATCH 28/44] x86: olpc: Register xo1 poweroff handler with kernel poweroff handler

2014-10-06 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with high priority value of 192 to reflect that the driver explicitly wants to override default poweroff handlers. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: H. Peter Anvin Signed-off-by: Guenter Roeck --- a

[PATCH 29/44] staging: nvec: Register with kernel poweroff handler

2014-10-06 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with default priority value of 128 since we don't know any better. Cc: Julian Andres Klode Cc: Marc Dietrich Cc: Greg Kroah-Hartman Signed-off-by: Guenter Roeck --- drivers/staging/nvec/nvec.c | 24 ++

[PATCH 05/44] mfd: as3722: Drop reference to pm_power_off from devicetree bindings

2014-10-06 Thread Guenter Roeck
Devicetree bindings are supposed to be operating system independent and should thus not describe how a specific functionality is implemented in Linux. Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Signed-off-by: Guenter Roeck --- Documentation/devicetree/bindings/mfd/as3722.txt | 3 +-- 1 f