mdp4_overlay: only call dtv stuff when config'd
This commit is contained in:
@@ -2263,7 +2263,9 @@ int mdp4_overlay_play_wait(struct fb_info *info, struct msmfb_overlay_data *req)
|
||||
if (mutex_lock_interruptible(&mfd->dma->ov_mutex))
|
||||
return -EINTR;
|
||||
|
||||
#ifdef CONFIG_FB_MSM_DTV
|
||||
mdp4_overlay_dtv_wait_for_ov(mfd, pipe);
|
||||
#endif
|
||||
|
||||
mutex_unlock(&mfd->dma->ov_mutex);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user