* [PATCH] mmc: omap_hsmmc: Fix Unbalanced pm_runtime_enable warning
@ 2012-03-05 23:42 Tony Lindgren
2012-03-06 0:09 ` Kevin Hilman
0 siblings, 1 reply; 4+ messages in thread
From: Tony Lindgren @ 2012-03-05 23:42 UTC (permalink / raw)
To: linux-arm-kernel
mmc: omap_hsmmc: Fix Unbalanced pm_runtime_enable warning
Otherwise we can get following warning when re-loading the
omap_hsmmc driver module when gpio_twl4030 module is not
loaded:
omap_hsmmc omap_hsmmc.0: Unbalanced pm_runtime_enable!
omap_hsmmc omap_hsmmc.0: Unable to grab MMC CD IRQ
omap_hsmmc: probe of omap_hsmmc.0 failed with error -22
Signed-off-by: Tony Lindgren <tony@atomide.com>
---
Kevin, maybe take a look and see if this is correct and
fits into your PM branches?
Tony
--- a/drivers/mmc/host/omap_hsmmc.c
+++ b/drivers/mmc/host/omap_hsmmc.c
@@ -2146,6 +2146,7 @@ err_irq_cd_init:
err_irq:
pm_runtime_mark_last_busy(host->dev);
pm_runtime_put_autosuspend(host->dev);
+ pm_runtime_disable(host->dev);
clk_put(host->fclk);
if (host->got_dbclk) {
clk_disable(host->dbclk);
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH] mmc: omap_hsmmc: Fix Unbalanced pm_runtime_enable warning
2012-03-05 23:42 [PATCH] mmc: omap_hsmmc: Fix Unbalanced pm_runtime_enable warning Tony Lindgren
@ 2012-03-06 0:09 ` Kevin Hilman
2012-03-08 18:32 ` Kevin Hilman
0 siblings, 1 reply; 4+ messages in thread
From: Kevin Hilman @ 2012-03-06 0:09 UTC (permalink / raw)
To: linux-arm-kernel
Tony Lindgren <tony@atomide.com> writes:
> mmc: omap_hsmmc: Fix Unbalanced pm_runtime_enable warning
>
> Otherwise we can get following warning when re-loading the
> omap_hsmmc driver module when gpio_twl4030 module is not
> loaded:
>
> omap_hsmmc omap_hsmmc.0: Unbalanced pm_runtime_enable!
> omap_hsmmc omap_hsmmc.0: Unable to grab MMC CD IRQ
> omap_hsmmc: probe of omap_hsmmc.0 failed with error -22
>
> Signed-off-by: Tony Lindgren <tony@atomide.com>
> ---
>
> Kevin, maybe take a look and see if this is correct and
> fits into your PM branches?
Looks right to me:
Acked-by: Kevin Hilman <khilman@ti.com>
But this is a fix to the driver itself, so Chris should queue this in
mmc-next.
Chris, can you take this one?
Kevin
>
> Tony
>
> --- a/drivers/mmc/host/omap_hsmmc.c
> +++ b/drivers/mmc/host/omap_hsmmc.c
> @@ -2146,6 +2146,7 @@ err_irq_cd_init:
> err_irq:
> pm_runtime_mark_last_busy(host->dev);
> pm_runtime_put_autosuspend(host->dev);
> + pm_runtime_disable(host->dev);
> clk_put(host->fclk);
> if (host->got_dbclk) {
> clk_disable(host->dbclk);
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH] mmc: omap_hsmmc: Fix Unbalanced pm_runtime_enable warning
2012-03-06 0:09 ` Kevin Hilman
@ 2012-03-08 18:32 ` Kevin Hilman
2012-03-09 4:43 ` Chris Ball
0 siblings, 1 reply; 4+ messages in thread
From: Kevin Hilman @ 2012-03-08 18:32 UTC (permalink / raw)
To: linux-arm-kernel
Chris,
On 03/05/2012 04:09 PM, Kevin Hilman wrote:
> Tony Lindgren<tony@atomide.com> writes:
>
>> mmc: omap_hsmmc: Fix Unbalanced pm_runtime_enable warning
>>
>> Otherwise we can get following warning when re-loading the
>> omap_hsmmc driver module when gpio_twl4030 module is not
>> loaded:
>>
>> omap_hsmmc omap_hsmmc.0: Unbalanced pm_runtime_enable!
>> omap_hsmmc omap_hsmmc.0: Unable to grab MMC CD IRQ
>> omap_hsmmc: probe of omap_hsmmc.0 failed with error -22
>>
>> Signed-off-by: Tony Lindgren<tony@atomide.com>
>> ---
>>
>> Kevin, maybe take a look and see if this is correct and
>> fits into your PM branches?
>
> Looks right to me:
>
> Acked-by: Kevin Hilman<khilman@ti.com>
>
> But this is a fix to the driver itself, so Chris should queue this in
> mmc-next.
>
> Chris, can you take this one?
>
just checking on this to be sure it can make it for v3.4.
Kevin
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] mmc: omap_hsmmc: Fix Unbalanced pm_runtime_enable warning
2012-03-08 18:32 ` Kevin Hilman
@ 2012-03-09 4:43 ` Chris Ball
0 siblings, 0 replies; 4+ messages in thread
From: Chris Ball @ 2012-03-09 4:43 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
On Thu, Mar 08 2012, Kevin Hilman wrote:
>> Tony Lindgren<tony@atomide.com> writes:
>>
>>> mmc: omap_hsmmc: Fix Unbalanced pm_runtime_enable warning
>>>
>>> Otherwise we can get following warning when re-loading the
>>> omap_hsmmc driver module when gpio_twl4030 module is not
>>> loaded:
>>>
>>> omap_hsmmc omap_hsmmc.0: Unbalanced pm_runtime_enable!
>>> omap_hsmmc omap_hsmmc.0: Unable to grab MMC CD IRQ
>>> omap_hsmmc: probe of omap_hsmmc.0 failed with error -22
>>>
>>> Signed-off-by: Tony Lindgren<tony@atomide.com>
>>> ---
>>>
>>> Kevin, maybe take a look and see if this is correct and
>>> fits into your PM branches?
>>
>> Looks right to me:
>>
>> Acked-by: Kevin Hilman<khilman@ti.com>
>>
>> But this is a fix to the driver itself, so Chris should queue this in
>> mmc-next.
>>
>> Chris, can you take this one?
>
> just checking on this to be sure it can make it for v3.4.
Thanks, I've pushed this to mmc-next for 3.4 now.
- Chris.
--
Chris Ball <cjb@laptop.org> <http://printf.net/>
One Laptop Per Child
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-03-09 4:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-05 23:42 [PATCH] mmc: omap_hsmmc: Fix Unbalanced pm_runtime_enable warning Tony Lindgren
2012-03-06 0:09 ` Kevin Hilman
2012-03-08 18:32 ` Kevin Hilman
2012-03-09 4:43 ` Chris Ball
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).