OMAPDSS: TPO-TD03MTEA1: Check for errors from regulator_enable()
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 19 Mar 2012 15:02:31 +0000 (15:02 +0000)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 23 Apr 2012 07:48:05 +0000 (10:48 +0300)
commit956107eadc27ffbcdf80357e16138f9595f0f4fd
tree538f8791d014419cee70c8a6489215970374d2ff
parentec8741078d0a644d68827c8a347ac6be153622b5
OMAPDSS: TPO-TD03MTEA1: Check for errors from regulator_enable()

It is possible for regulator_enable() to fail and if it does fail that's
generally a bad sign for anything we try to do with the hardware afterwards
so check for and immediately return an error if regulator_enable() fails.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/displays/panel-tpo-td043mtea1.c