clk: bcm2835: Limit PCM clock to OSC and PLLD_PER
authorPhil Elwell <phil@raspberrypi.org>
Wed, 26 Apr 2017 16:28:47 +0000 (17:28 +0100)
committerRaspbian kernel package updater <root@raspbian.org>
Sat, 31 Mar 2018 14:53:34 +0000 (15:53 +0100)
commit1e466581a64f5b7e42b404aa0a935be01a29aed1
treecc8d2f1aeb9ed92f123dd5a439695ee67e3b33a5
parent31aeaa3136c2eeefcc9ec591a392cb015e7d4803
clk: bcm2835: Limit PCM clock to OSC and PLLD_PER

It is unwise to use sources other than the oscillator and PLLD_PER for
the PCM peripheral (and perhaps others - TBD) because their rate can
change and they may even be switched off, so explicitly restrict the
choice using dummy entries in the list of potential parents (item index
is significant).

See: https://github.com/raspberrypi/linux/issues/1949

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
drivers/clk/bcm/clk-bcm2835.c