[PATCH V2 2/2] mmc: sdhci-esdhc-imx: fix warning during module remove function

Chris Ball chris at printf.net
Mon Jan 13 13:40:09 EST 2014


Hi,

On Thu, Dec 26 2013, Dong Aisheng wrote:
> Since the clock is managed by runtime pm currently, we do not need
> disable it again during driver remove function, or it will cause
> clock disable count mismatch issue since the clocks have already been disabled.
>
> The issue can be simply reproduced by unbind the devices via sysfs.
> mx6slevk:/sys/bus/platform/drivers/sdhci-esdhc-imx# echo 2194000.usdhc > unbind
> mmc1: card aaaa removed
> ------------[ cut here ]------------
> WARNING: CPU: 0 PID: 657 at drivers/clk/clk.c:842 __clk_disable+0x68/0x88()

Thanks, pushed to mmc-next.

- Chris.
-- 
Chris Ball   <chris at printf.net>   <http://printf.net/>



More information about the linux-arm-kernel mailing list