Merge "msm: mdss: change error return value for lineptr sysfs entries"
This commit is contained in:
commit
3efbc80d99
1 changed files with 2 additions and 2 deletions
|
@ -3308,7 +3308,7 @@ static ssize_t mdss_mdp_lineptr_show_event(struct device *dev,
|
|||
if (!mdp5_data->ctl ||
|
||||
(!mdp5_data->ctl->panel_data->panel_info.cont_splash_enabled
|
||||
&& !mdss_mdp_ctl_is_power_on(mdp5_data->ctl)))
|
||||
return -EAGAIN;
|
||||
return -EPERM;
|
||||
|
||||
lineptr_ticks = ktime_to_ns(mdp5_data->lineptr_time);
|
||||
|
||||
|
@ -3329,7 +3329,7 @@ static ssize_t mdss_mdp_lineptr_show_value(struct device *dev,
|
|||
if (!mdp5_data->ctl ||
|
||||
(!mdp5_data->ctl->panel_data->panel_info.cont_splash_enabled
|
||||
&& !mdss_mdp_ctl_is_power_on(mdp5_data->ctl)))
|
||||
return -EAGAIN;
|
||||
return -EPERM;
|
||||
|
||||
lineptr_val = mfd->panel_info->te.wr_ptr_irq;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue