Re: [PATCH] cpufreq: Fix race between sysfs writes and hotplug/policy update

2013-06-24 Thread Viresh Kumar
Hi Saravana, On 23 June 2013 08:32, Saravana Kannan skan...@codeaurora.org wrote: The sysfs store ops need to grab the policy write semaphore to avoid race with hotplug and cpufreq_update_policy() calls. Without this, we could end up with simultaneous calls to cpufreq_driver-target()

[PATCH 2/7] usb: phy: msm: Migrate to Managed Device Resource allocation

2013-06-24 Thread Ivan T. Ivanov
From: Ivan T. Ivanov iiva...@mm-sol.com Cc: Felipe Balbi ba...@ti.com Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: linux-...@vger.kernel.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- drivers/usb/phy/phy-msm-usb.c | 78

[PATCH 7/7] usb: phy: msm: Lindent the code

2013-06-24 Thread Ivan T. Ivanov
From: Ivan T. Ivanov iiva...@mm-sol.com Cc: Felipe Balbi ba...@ti.com Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: linux-...@vger.kernel.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com --- drivers/usb/phy/phy-msm-usb.c | 99

[PATCH 6/7] usb: phy: msm: Fix WARNING: Prefer seq_puts to seq_printf

2013-06-24 Thread Ivan T. Ivanov
From: Ivan T. Ivanov iiva...@mm-sol.com This fixes checkpatch.pl warnings. Cc: Felipe Balbi ba...@ti.com Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: linux-...@vger.kernel.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com ---

[PATCH 5/7] usb: phy: msm: Fix WARNING: quoted string split across lines

2013-06-24 Thread Ivan T. Ivanov
From: Ivan T. Ivanov iiva...@mm-sol.com This fixes checkpatch.pl warnings. Cc: Felipe Balbi ba...@ti.com Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: linux-...@vger.kernel.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com ---

[PATCH 0/7] usb: phy: msm: Fixes and cleanups

2013-06-24 Thread Ivan T. Ivanov
From: Ivan T. Ivanov iiva...@mm-sol.com Following patches make initial cleanup of usb phy found in the Qualcomm chipsets. Changes include: * Build time error fix. * Move driver to Managed Device Resource allocation. * Checkpatch warnings and error fixes * Removed usage of global regulators

[PATCH 1/7] usb: phy: msm: Move mach dependent code to platform data

2013-06-24 Thread Ivan T. Ivanov
From: Ivan T. Ivanov iiva...@mm-sol.com This patch fix compilation error and is an intermediate step before the addition of DeviceTree support for newer targets. Fix suggested here: https://lkml.org/lkml/2013/6/19/381 Cc: David Brown dav...@codeaurora.org Cc: Daniel Walker dwal...@fifo99.com Cc:

[PATCH 3/7] usb: phy: msm: Move regulator usage to managed resource allocation

2013-06-24 Thread Ivan T. Ivanov
From: Ivan T. Ivanov iiva...@mm-sol.com This patch move global regulators variables to driver state structire and move allocation of the regulators to be devm managed. Cc: Felipe Balbi ba...@ti.com Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: linux-...@vger.kernel.org Cc:

[PATCH 4/7] usb: phy: msm: Remove unnecessarily check for valid regulators.

2013-06-24 Thread Ivan T. Ivanov
From: Ivan T. Ivanov iiva...@mm-sol.com Whether regulators are available or not is checked at driver probe. If they are not available driver will refuse to load, so no need to check them again. Cc: Felipe Balbi ba...@ti.com Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc:

Re: [PATCH] cpufreq: Fix race between sysfs writes and hotplug/policy update

2013-06-24 Thread Saravana Kannan
On 06/23/2013 11:08 PM, Viresh Kumar wrote: Hi Saravana, On 23 June 2013 08:32, Saravana Kannan skan...@codeaurora.org wrote: The sysfs store ops need to grab the policy write semaphore to avoid race with hotplug and cpufreq_update_policy() calls. Without this, we could end up with

Re: [PATCHv7 01/11] clockevents: Prefer CPU local devices over global devices

2013-06-24 Thread Stephen Boyd
On 06/21/13 10:07, Stephen Boyd wrote: On 06/19, Stephen Boyd wrote: Can you pick up the first two patches in this series please? And preferably make a stable branch that can be pulled into arm-soc? Then I can send the rest through the arm-soc tree. ping? Thomas, please apply these first

Re: [PATCH/RESEND 00/12] Convert MSM to common clock framework

2013-06-24 Thread David Brown
On Thu, Jun 20, 2013 at 06:29:52PM -0700, Stephen Boyd wrote: On 06/17, Stephen Boyd wrote: Resending to collect higher level maintainer acks per Olof's request. The plan is to push this patchset through MSM to the arm-soc tree. This patchset moves the existing MSM clock code and affected

[GIT PULL v2] msm clock for 3.11

2013-06-24 Thread David Brown
This pull request differs from the previous one for the clock code by: - Gathered additional Acked-by lines. - A small #include fixup found by Stephen Boyd The only Ack not received was from Chris Ball, who is CC'd on this request. The following changes since commit

Re: [GIT PULL v2] msm clock for 3.11

2013-06-24 Thread Chris Ball
Hi, On Mon, Jun 24 2013, David Brown wrote: This pull request differs from the previous one for the clock code by: - Gathered additional Acked-by lines. - A small #include fixup found by Stephen Boyd The only Ack not received was from Chris Ball, who is CC'd on this request. Sorry

Re: [PATCHv2 3/6] sched_clock: Make ARM's sched_clock generic for all architectures

2013-06-24 Thread Stephen Boyd
On 06/21/13 10:42, John Stultz wrote: On 06/21/2013 10:05 AM, Stephen Boyd wrote: On 06/21, Arnd Bergmann wrote: This causes build failures when doing a simple merge with the arm-soc tree: == build/clps711x_defconfig/faillog == /git/arm-soc/arch/arm/mach-clps711x/common.c:37:29: fatal

Re: [PATCHv2 3/6] sched_clock: Make ARM's sched_clock generic for all architectures

2013-06-24 Thread John Stultz
On 06/24/2013 03:45 PM, Stephen Boyd wrote: On 06/21/13 10:42, John Stultz wrote: On 06/21/2013 10:05 AM, Stephen Boyd wrote: On 06/21, Arnd Bergmann wrote: This causes build failures when doing a simple merge with the arm-soc tree: == build/clps711x_defconfig/faillog ==