From 8f575025cf15823993a660b9f25f9ffb6cf78f8e Mon Sep 17 00:00:00 2001 From: Donghwa Lee Date: Wed, 24 Feb 2010 14:19:07 +0900 Subject: [PATCH] s5pc110: neptune: add auto_download using home & volume down key --- board/samsung/universal/universal.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/board/samsung/universal/universal.c b/board/samsung/universal/universal.c index 668640c..27f7cda 100644 --- a/board/samsung/universal/universal.c +++ b/board/samsung/universal/universal.c @@ -873,12 +873,18 @@ static void check_keypad(void) writel(0, reg + S5PC1XX_KEYIFCOL_OFFSET); if (machine_is_aquila() || machine_is_kessler()) { - /* cam full shot & volume down */ - if ((row_state[0] & 0x1) && (row_state[1] & 0x2)) - auto_download = 1; /* volume down */ - else if ((row_state[1] & 0x2)) + if(row_state[1] & 0x2) display_info = 1; + if (board_is_neptune()) { + /* home & volume down */ + if ((row_state[1] & 0x1) && (row_state[1] & 0x2)) + auto_download = 1; + } else { + /* cam full shot & volume down */ + if ((row_state[0] & 0x1) && (row_state[1] & 0x2)) + auto_download = 1; + } } else if (machine_is_geminus()) /* volume down & home */ if ((row_state[1] & 0x2) && (row_state[2] & 0x1)) -- 2.7.4