Pārlūkot izejas kodu

touchscreen: raydium: Change in Key event

Changed key event from KEY_POWER to KEY_WAKEUP in Probe Sequence.

Change-Id: Ifb93b0529af727443d86fd8fad47fed7c70ad48d
Signed-off-by: ppadasal <[email protected]>
ppadasal 2 gadi atpakaļ
vecāks
revīzija
558808c356
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      raydium/raydium_driver.c

+ 1 - 1
raydium/raydium_driver.c

@@ -2286,7 +2286,7 @@ static int raydium_ts_probe(struct i2c_client *client,
 
 #ifdef GESTURE_EN
 	input_set_capability(input_dev, EV_KEY, KEY_SLEEP);
-	input_set_capability(input_dev, EV_KEY, KEY_POWER);
+	input_set_capability(input_dev, EV_KEY, KEY_WAKEUP);
 #endif
 
 	/*suspend/resume routine*/