i.MX7ULP: Correct the clock index
authorBai Ping <ping.bai@nxp.com>
Mon, 22 Jul 2019 01:24:45 +0000 (01:24 +0000)
committerStefano Babic <sbabic@denx.de>
Tue, 8 Oct 2019 14:35:16 +0000 (16:35 +0200)
commit3ed6734e698e4280361f1a509856c50b07861c99
tree2167028c54a52fb6cd19a5b57be02c2099e2407c
parent7777406a8a023bdfe18d106138c61eeaa15dd5b4
i.MX7ULP: Correct the clock index

On i.MX7ULP, value zero is reserved in SCG1 RCCR register,
so the val should be decreased by 1 to get the correct clock
source index.

Signed-off-by: Bai Ping <ping.bai@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/mx7ulp/scg.c