clk: bcm2835: Mark GPIO clocks enabled at boot as critical
authorEric Anholt <eric@anholt.net>
Wed, 1 Jun 2016 19:05:34 +0000 (12:05 -0700)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 7 Sep 2016 15:57:22 +0000 (08:57 -0700)
commiteddcbe8398fc7103fccd22aa6df6917caf0123bf
tree2d9fb24ae78a480f82b903c3ebd67d6b845ba905
parente69fdcca836f0b81a2260b69429c8622a80ea891
clk: bcm2835: Mark GPIO clocks enabled at boot as critical

These divide off of PLLD_PER and are used for the ethernet and wifi
PHYs source PLLs.  Neither of them is currently represented by a phy
device that would grab the clock for us.

This keeps other drivers from killing the networking PHYs when they
disable their own clocks and trigger PLLD_PER's refcount going to 0.

Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Martin Sperl <kernel@martin.sperl.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/bcm/clk-bcm2835.c