diff options
| author | Dhaval Patel <pdhaval@codeaurora.org> | 2015-12-01 15:37:47 -0800 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 21:12:41 -0700 |
| commit | 3c7a8474b0b2ef7d26c58c0b2dabcb00605e80cc (patch) | |
| tree | 4b7db4a07e9caaaf8e5abc80f0dbc0a622308000 | |
| parent | a309c04c54d0164eeaa5c41780f3a4da137c2b5f (diff) | |
msm: mdss: dsi: return true when esd status is not enabled
Panel status check returns the current state based
on esd status check method. If esd method is not configured
then it returns panel dead which is misleading. This change
returns panel status alive if esd method is not enabled or
esd check callback is not registered for certain method.
Change-Id: I5df21df16618cd62b5d1495982ff889ed53ce31b
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_dsi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/fbdev/msm/mdss_dsi.c b/drivers/video/fbdev/msm/mdss_dsi.c index 33c44991f8d6..1bd9da7eaad1 100644 --- a/drivers/video/fbdev/msm/mdss_dsi.c +++ b/drivers/video/fbdev/msm/mdss_dsi.c @@ -2369,6 +2369,8 @@ static int mdss_dsi_event_handler(struct mdss_panel_data *pdata, case MDSS_EVENT_DSI_PANEL_STATUS: if (ctrl_pdata->check_status) rc = ctrl_pdata->check_status(ctrl_pdata); + else + rc = true; break; case MDSS_EVENT_PANEL_TIMING_SWITCH: rc = mdss_dsi_panel_timing_switch(ctrl_pdata, arg); |
