Skip to content

Commit 172bb5f

Browse files
committed
Input: ili210x - do not unconditionally mark touchscreen as wakeup source
I2C devices that are supposed to be wakeup sources should be instantiated with I2C_CLIENT_WAKE flag (which can be either set by in board info, or retrieved from "wakeup-source" property); individual drivers should not be marking devices as wakeup sources unconditionally. Tested-by: Adam Ford <[email protected]> #imx6q-logicpd Tested-by: Sven Van Asbroeck <[email protected]> # ILI2118A variant Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent ef536ab commit 172bb5f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/input/touchscreen/ili210x.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,8 +439,6 @@ static int ili210x_i2c_probe(struct i2c_client *client,
439439
return error;
440440
}
441441

442-
device_init_wakeup(dev, 1);
443-
444442
dev_dbg(dev,
445443
"ILI210x initialized (IRQ: %d), firmware version %d.%d.%d",
446444
client->irq, firmware.id, firmware.major, firmware.minor);

0 commit comments

Comments
 (0)