]> 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)
commit8d6ce19e4e30559224fe703797ed6df00b0fad73
treec2628451c9e5f87a3e5f104e577032848101ab12
parent9d38d97a78be6e3e4997a4af62afd8b4e06d8b5d
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: 4889ffd848fd ("platform/x86: Enable Atom PMC platform clocks")
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/x86/clk-pmc-atom.c