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

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

Merge "input: touchscreen: Handle suspend event in focaltech driver"

parents 9f348603 3016fb2c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1015,7 +1015,8 @@ static int fb_notifier_callback(struct notifier_block *self,
		blank = evdata->data;
		if (*blank == FB_BLANK_UNBLANK)
			fts_ts_resume(&fts_data->client->dev);
		else if (*blank == FB_BLANK_POWERDOWN)
		else if (*blank == FB_BLANK_POWERDOWN ||
				*blank == FB_BLANK_VSYNC_SUSPEND)
			fts_ts_suspend(&fts_data->client->dev);
	}