Skip to content

Commit

Permalink
sec_ts_fn: y771: fix logical-not-parentheses warning
Browse files Browse the repository at this point in the history
Signed-off-by: Yaroslav Furman <[email protected]>
Change-Id: Icd667a12eae5bef1a242a6d5f917e59bdb746ebf
  • Loading branch information
YaroST12 authored and ananjaser1211 committed Jun 25, 2024
1 parent 63ec32d commit ec1604e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/touchscreen/sec_ts/y771/sec_ts_fn.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ec1604e

Please sign in to comment.