Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ca13239f authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: mdss: lock mutex before setting backlight"

parents 0e0667d1 1b7f1d14
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2703,7 +2703,9 @@ static int mdss_fb_release_all(struct fb_info *info, bool release_all)
		 * enabling ahead of unblank. for some special cases like
		 * adb shell stop/start.
		 */
		mutex_lock(&mfd->bl_lock);
		mdss_fb_set_backlight(mfd, 0);
		mutex_unlock(&mfd->bl_lock);

		ret = mdss_fb_blank_sub(FB_BLANK_POWERDOWN, info,
			mfd->op_enable);