clk: imx: pll14xx: Return error if pll type is invalid
authorAnson Huang <Anson.Huang@nxp.com>
Fri, 21 Feb 2020 06:31:56 +0000 (14:31 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 24 Feb 2020 07:41:13 +0000 (15:41 +0800)
commit530cf8d49f2a650625eee6ce28793bd7974e14bd
tree3d63962a0e465e906e55af22ff0f710741b297b2
parent7ab227210110a4137b005b7be3df1ec2d668ac96
clk: imx: pll14xx: Return error if pll type is invalid

When pll type is invalid, ONLY output error message is NOT enough,
should return error immediately.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/clk/imx/clk-pll14xx.c