]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: VENC: Check for errors from regulator_enable()
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 19 Mar 2012 14:56:39 +0000 (14:56 +0000)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 23 Apr 2012 07:48:05 +0000 (10:48 +0300)
commit445f3799f2ebf4ea93c231c0b005b1e020c5453d
treeecc4429b24c977502a319a7e89214c97dc14e87a
parent712ba8d16a7785c771df404588071902f78a09ff
OMAPDSS: VENC: 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>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/venc.c