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

Commit 342758bc authored by Vevek Venkatesan's avatar Vevek Venkatesan
Browse files

input: touchscreen: hxchipset: add init check before suspend



Add a check for touch chip init done, before suspend in
Himax touch driver.

Change-Id: Ie64e8287aa32afb48bc1143eea37c434c498ff6a
Signed-off-by: default avatarVevek Venkatesan <vevekv@codeaurora.org>
parent af372cc5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -718,6 +718,8 @@ int drm_notifier_callback(struct notifier_block *self,
			himax_common_resume(&ts->client->dev);
			break;
		case MSM_DRM_BLANK_POWERDOWN:
			if (!ts->initialized)
				return -ECANCELED;
			himax_common_suspend(&ts->client->dev);
			break;
		}