summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev
diff options
context:
space:
mode:
authorXiaoming Zhou <zhoux@codeaurora.org>2013-10-25 22:47:41 -0400
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:22:48 -0700
commitc84875ea810b3eb44fbe2646c84763b2235293ef (patch)
tree662f7444319e425142fff4be61a241abc4f60d24 /drivers/video/fbdev
parentd39c66c46e5ed445fbe80b370a93cd57141565c0 (diff)
msm: mdss: allow meta data to be retrieved in display off state
This is to allow client to retrieve display meta data information even while the display is turned off. Change-Id: Id5c3a3ebac9039a8ff045eb662683962e16e46bd Signed-off-by: Xiaoming Zhou <zhoux@codeaurora.org>
Diffstat (limited to 'drivers/video/fbdev')
-rw-r--r--drivers/video/fbdev/msm/mdp3_ctrl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/msm/mdp3_ctrl.c b/drivers/video/fbdev/msm/mdp3_ctrl.c
index c79a17198fd0..d31038689bd8 100644
--- a/drivers/video/fbdev/msm/mdp3_ctrl.c
+++ b/drivers/video/fbdev/msm/mdp3_ctrl.c
@@ -1393,7 +1393,7 @@ static int mdp3_ctrl_ioctl_handler(struct msm_fb_data_type *mfd,
if (!mdp3_session)
return -ENODEV;
- if (!mdp3_session->status) {
+ if (!mdp3_session->status && cmd != MSMFB_METADATA_GET) {
pr_err("mdp3_ctrl_ioctl_handler, display off!\n");
return -EPERM;
}