input: gpio_keys: report SW_LID instead of SW_FLIP
authorRoman Birg <roman@cyngn.com>
Mon, 18 Aug 2014 21:04:44 +0000 (14:04 -0700)
committerDario Trombello <dariotr@outlook.de>
Sat, 23 Jan 2021 11:55:49 +0000 (12:55 +0100)
commit82684250ae9c24ce6706aa3d9093ba46e66ca238
tree0e914124905241a8eda6cb975adfe27422100509
parent1b37e0936815038a348230db69eaf00d2ecf4029
input: gpio_keys: report SW_LID instead of SW_FLIP

* Android expects SW_LID for lid events. It also expects a different
  sequence of lid state since windowed covers are not yet supported.

Change-Id: Iebffbabdbb3748eec4f887ebd227c67adf01d8ef
Signed-off-by: Roman Birg <roman@cyngn.com>
drivers/input/flip_cover.c