]> git.baikalelectronics.ru Git - kernel.git/commit
clk: x86: Do not gate clocks enabled by the firmware
authorCarlo Caione <carlo@endlessm.com>
Fri, 14 Jul 2017 08:23:56 +0000 (10:23 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 18 Jul 2017 23:23:13 +0000 (16:23 -0700)
commit6a2330cfad94085894eb2f2dc6c4c3920d58a2ce
treec2628451c9e5f87a3e5f104e577032848101ab12
parent32a978b978158c64b0fcc3b885a1a249137444ba
clk: x86: Do not gate clocks enabled by the firmware

Read the enable register to determine if the clock is already in use by
the firmware. In this case avoid gating the clock.

Tested-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Darren Hart (VMware) <dvhart@infradead.org>
Signed-off-by: Carlo Caione <carlo@endlessm.com>
Fixes: 9f86d25108d6 ("platform/x86: Enable Atom PMC platform clocks")
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/x86/clk-pmc-atom.c