diff --git a/drivers/input/touchscreen/sec_ts/y771/sec_ts_fn.c b/drivers/input/touchscreen/sec_ts/y771/sec_ts_fn.c index 00ef6bd467f7..3b758facbcf8 100755 --- a/drivers/input/touchscreen/sec_ts/y771/sec_ts_fn.c +++ b/drivers/input/touchscreen/sec_ts/y771/sec_ts_fn.c @@ -5236,7 +5236,7 @@ static void clear_cover_mode(void *device_data) #endif } - if (!ts->power_status == SEC_TS_STATE_POWER_OFF && ts->reinit_done) { + if (!(ts->power_status == SEC_TS_STATE_POWER_OFF) && ts->reinit_done) { if (ts->flip_enable) sec_ts_set_cover_type(ts, true); else