From e95e2828f11e1083e7acab493e248b0721adf38f Mon Sep 17 00:00:00 2001 From: Yaroslav Furman Date: Fri, 22 Jun 2018 21:30:06 +0300 Subject: [PATCH] sec_ts_fn: fix logical-not-parentheses warning Signed-off-by: Yaroslav Furman --- drivers/input/touchscreen/sec_ts/sec_ts_fn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/sec_ts/sec_ts_fn.c b/drivers/input/touchscreen/sec_ts/sec_ts_fn.c index d67a089cfdce..67e5c0c46cab 100644 --- a/drivers/input/touchscreen/sec_ts/sec_ts_fn.c +++ b/drivers/input/touchscreen/sec_ts/sec_ts_fn.c @@ -3215,7 +3215,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 -- 2.20.1