drm/imx: imx-tve: check the value returned by regulator_set_voltage()
authorFabio Estevam <fabio.estevam@nxp.com>
Sat, 9 Jul 2016 21:57:42 +0000 (18:57 -0300)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 12 Jul 2016 16:24:30 +0000 (18:24 +0200)
commitdeb65870b5d9d939bb319661dd489272a6de665d
tree5bc0a75230cce19cd5073ea2e82cadbc6c0c8123
parent7075ba7942b80704588cc60bce945519b0302ced
drm/imx: imx-tve: check the value returned by regulator_set_voltage()

regulator_set_voltage() may fail, so we better check its return value
and propagate it in the case of error.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/imx/imx-tve.c