sec_ts_fn: fix logical-not-parentheses warning
authorYaroslav Furman <yaro330@gmail.com>
Fri, 22 Jun 2018 18:30:06 +0000 (21:30 +0300)
committerMichael Benedict <michaelbt@live.com>
Sat, 31 Aug 2019 15:08:48 +0000 (01:08 +1000)
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
drivers/input/touchscreen/sec_ts/sec_ts_fn.c

index d67a089cfdce1ca41595b5c6552cdf92507d5a48..67e5c0c46cab01236d2b24f9c250dd98495b6983 100644 (file)
@@ -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