board: msm8x60: Change Camera keycode on fluid for recovery mode
Two stage button will be used in recovery mode to select
menu items, but the maximum keycode in boinic c library
is 0x199 which is less than KEY_CAMERA_SNAPSHOT (0x2fe).
Change the keycode from KEY_CAMERA_SNAPSHOT to KEY_CAMERA
to make it work in both recovery mode and normal mode.
Signed-off-by: Jilai Wang <jilaiw@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-msm8x60.c b/arch/arm/mach-msm/board-msm8x60.c
index ac5846e..d7decce 100644
--- a/arch/arm/mach-msm/board-msm8x60.c
+++ b/arch/arm/mach-msm/board-msm8x60.c
@@ -5279,7 +5279,7 @@
KEY(4, 3, KEY_HOME), /* Right switch: MIC Bd */
KEY(4, 4, KEY_FN_F3), /* Reserved MIC */
- KEY(5, 0, KEY_CAMERA_SNAPSHOT), /* RS - PUSH2 */
+ KEY(5, 0, KEY_CAMERA), /* RS - PUSH2 */
KEY(5, 1, KEY_RIGHT), /* USER_RIGHT */
KEY(5, 2, KEY_DOWN), /* USER_DOWN */
KEY(5, 3, KEY_BACK), /* Left switch: MIC */