k2_fw_usb_api: fix typo in reg address
authorOleksij Rempel <linux@rempel-privat.de>
Fri, 5 Jul 2013 19:31:43 +0000 (21:31 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Sun, 7 Jul 2013 13:48:35 +0000 (15:48 +0200)
this was writing defenetly to wrong address.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
target_firmware/magpie_fw_dev/target/hif/k2_fw_usb_api.c

index f8d2bfe6df2402d2a8105e0e2bb57976c26b10a7..8c1ac84bd967404eea9b6c7968cea1da138ebcc1 100755 (executable)
@@ -144,7 +144,7 @@ void _fw_usb_suspend_reboot()
                 
                //set all GPIO to input
         gpio_in = HAL_WORD_REG_READ(0x1000404c);
-        HAL_WORD_REG_WRITE(0x100404c, 0x0);
+        HAL_WORD_REG_WRITE(0x1000404c, 0x0);
                 
                //set PU/PD for all GPIO except two UART pins
         pupd = HAL_WORD_REG_READ(0x10004088);