diff options
author | Per Persson <per.xb.persson@stericsson.com> | 2011-09-29 16:38:17 +0200 |
---|---|---|
committer | Jonas ABERG <jonas.aberg@stericsson.com> | 2011-09-30 13:45:31 +0200 |
commit | befa9064e44338ef368efc6d8c06bb602691176a (patch) | |
tree | 17f14590836983bf0b0a9f9787427a124f33d328 /drivers/video/mcde | |
parent | 6af190787080b9218254a76e70793c04cf1d312a (diff) |
video: av8100: Improve error handling
Avoid powerdown when fw failed.
ST-Ericsson ID: 364550
ST-Ericsson Linux next: Not tested
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I0386a2e8f3ce8d84ca30e7cd3c81df19a43a47ab
Signed-off-by: Per Persson <per.xb.persson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32559
Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'drivers/video/mcde')
-rw-r--r-- | drivers/video/mcde/display-av8100.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/mcde/display-av8100.c b/drivers/video/mcde/display-av8100.c index 31e46b138e1..69b5afdd7dd 100644 --- a/drivers/video/mcde/display-av8100.c +++ b/drivers/video/mcde/display-av8100.c @@ -916,11 +916,10 @@ static int hdmi_set_video_mode( } } - if (status.av8100_state < AV8100_OPMODE_IDLE) { + if (status.av8100_state <= AV8100_OPMODE_IDLE) { ret = av8100_download_firmware(I2C_INTERFACE); if (ret) { dev_err(&dev->dev, "av8100_download_firmware failed\n"); - av8100_powerdown(); return ret; } } |