From: Oleksij Rempel Date: Fri, 5 Jul 2013 19:31:43 +0000 (+0200) Subject: k2_fw_usb_api: fix typo in reg address X-Git-Tag: 1.4.0~11^2~11 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=265eddfec75b14bae8586b4fa53b11f25284fe89;p=open-ath9k-htc-firmware.git k2_fw_usb_api: fix typo in reg address this was writing defenetly to wrong address. Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/magpie_fw_dev/target/hif/k2_fw_usb_api.c b/target_firmware/magpie_fw_dev/target/hif/k2_fw_usb_api.c index f8d2bfe..8c1ac84 100755 --- a/target_firmware/magpie_fw_dev/target/hif/k2_fw_usb_api.c +++ b/target_firmware/magpie_fw_dev/target/hif/k2_fw_usb_api.c @@ -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);