projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12d423e
)
iwlwifi: pcie: Fix CSR_RESET operation access type
author
Eran Harary
<
[email protected]
>
Wed, 11 Dec 2013 06:13:50 +0000
(08:13 +0200)
committer
Emmanuel Grumbach
<
[email protected]
>
Tue, 31 Dec 2013 17:03:50 +0000
(19:03 +0200)
The access to the CSR_RESET reg should be done as a complete
DWORD and not by setting a bit. This is the right way to reset
the device.
Signed-off-by: Eran Harary <
[email protected]
>
Signed-off-by: Emmanuel Grumbach <
[email protected]
>
drivers/net/wireless/iwlwifi/pcie/trans.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/iwlwifi/pcie/trans.c
b/drivers/net/wireless/iwlwifi/pcie/trans.c
index bc584efcebab4f5d7ae17ab043e7ea7a2d956b0f..2cb6332d38b471199dc4dcfe31b6b516e16f863d 100644
(file)
--- a/
drivers/net/wireless/iwlwifi/pcie/trans.c
+++ b/
drivers/net/wireless/iwlwifi/pcie/trans.c
@@
-779,7
+779,7
@@
static int iwl_trans_pcie_start_hw(struct iwl_trans *trans)
}
/* Reset the entire device */
- iwl_
set_bit
(trans, CSR_RESET, CSR_RESET_REG_FLAG_SW_RESET);
+ iwl_
write32
(trans, CSR_RESET, CSR_RESET_REG_FLAG_SW_RESET);
usleep_range(10, 15);