]> git.karo-electronics.de Git - linux-beck.git/commit
OMAP: DSS2: PicoDLP: fix error handling in power_on
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 23 Jun 2011 13:36:36 +0000 (16:36 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 14 Sep 2011 15:08:23 +0000 (18:08 +0300)
commit79e4424fbe83a4f2170f3cfa4628d5a34c520d37
tree09f7c7787e3daf04063ecc10e15eb5812142a111
parent24305db864cd62bf4279f745528c3238cbaf1c12
OMAP: DSS2: PicoDLP: fix error handling in power_on

Fix two problems in PicoDLP driver's error handling on
picodlp_panel_power_on:

- If omapdss_dpi_display_enable() failed, the its error value was not
  returned
- If picodlp_i2c_init() failed, dssdev->state was erroneously set to
  OMAP_DSS_DISPLAY_ACTIVE

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/displays/panel-picodlp.c