[PATCH 1/2] mmc: meson-gx: prevent cfg_div_clk from being disabled on init
Kevin Hilman
khilman at baylibre.com
Fri Feb 17 11:44:52 PST 2017
Michał Zegan <webczat at webczatnet.pl> writes:
> At the end of function meson_mmc_clk_init, the cfg_div clock was
> prepared, enabled and configured, but then immediately disabled due to bogus if statements.
> That made later calls to clk_disable_unprepare executed during module removal to fail with a kernel warning.
> Fix that by changing the code to disable clock only when it failed to be configured.
>
> Signed-off-by: Michał Zegan <webczat at webczatnet.pl>
I believe this one is not needed any more after Heiner's cleanups?
Kevin
More information about the linux-amlogic
mailing list