s5pc110: acme: auto download added using CAM FULL and VOLDOWN JD01_20100401
authorDonghwa Lee <dh09.lee@samsung.com>
Wed, 31 Mar 2010 10:18:56 +0000 (19:18 +0900)
committerDonghwa Lee <dh09.lee@samsung.com>
Wed, 31 Mar 2010 10:18:56 +0000 (19:18 +0900)
board/samsung/universal/universal.c

index 55472b8..408bd16 100644 (file)
@@ -900,10 +900,14 @@ static void check_keypad(void)
                /* volume down */
                if (row_state[1] & 0x2)
                        display_info = 1;
-               if (board_is_neptune()) {
+               if (board_is_neptune() && hwrevision(0)) {
                        /* home & volume down */
                        if ((row_state[1] & 0x1) && (row_state[1] & 0x2))
                                auto_download = 1;
+               } else if (board_is_neptune() && hwrevision(2)) {
+                       /* cam full shot & volume down */
+                       if ((row_state[1] & 0x6) && (row_state[2] & 0x4))
+                               auto_download = 1;
                } else {
                        /* cam full shot & volume down */
                        if ((row_state[0] & 0x1) && (row_state[1] & 0x2))