clk: bcm2835: Limit PCM clock to OSC and PLLD_PER
authorPhil Elwell <phil@raspberrypi.org>
Thu, 1 Jun 2017 14:14:16 +0000 (15:14 +0100)
committerStephen Boyd <sboyd@codeaurora.org>
Fri, 2 Jun 2017 22:42:19 +0000 (15:42 -0700)
commit8c0de581c4f590450a9e9850e8049f9313bb1e62
tree92e6dfad93e399713aec8cf9ff9a27366b285a4d
parente45098d703fbb9a7b02eae581aadb684b31e0eec
clk: bcm2835: Limit PCM clock to OSC and PLLD_PER

Restrict clock sources for the PCM peripheral to the oscillator and
PLLD_PER because other source may have varying rates or be switched off.
Prevent other sources from being selected by replacing their names in
the list of potential parents with dummy entries (entry index is
significant).

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/bcm/clk-bcm2835.c