diff --git a/drivers/video/fbdev/msm/mdss_mdp_pp.c b/drivers/video/fbdev/msm/mdss_mdp_pp.c index ee6493e660ad..acfd5f1f066b 100644 --- a/drivers/video/fbdev/msm/mdss_mdp_pp.c +++ b/drivers/video/fbdev/msm/mdss_mdp_pp.c @@ -3909,7 +3909,7 @@ static int pp_hist_collect(struct mdp_histogram_data *hist, spin_lock_irqsave(&hist_info->hist_lock, flag); if ((hist_info->col_en == 0) || (hist_info->col_state == HIST_UNKNOWN)) { - ret = -EINVAL; + ret = -ENODATA; spin_unlock_irqrestore(&hist_info->hist_lock, flag); goto hist_collect_exit; }