clk: imx: pllv2: avoid using uninitialized values
authorLucas Stach <l.stach@pengutronix.de>
Wed, 17 Jan 2018 15:02:56 +0000 (16:02 +0100)
committerStephen Boyd <sboyd@kernel.org>
Fri, 16 Mar 2018 22:40:41 +0000 (15:40 -0700)
commit93abad369a44f3b68f0581a00c4608500f293d93
treeca96e17a9bfa0229edc1e3b88310252c25aa5edb
parentcc4d07a41113f60fc514308fb073c567938412fc
clk: imx: pllv2: avoid using uninitialized values

Forward the errors returned by __clk_pllv2_set_rate() in the recalc rate
function, to avoid using uninitialized values for the rate calculation.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/imx/clk-pllv2.c