OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
058b3f1
)
wil6210: use writel_relaxed in wil_debugfs_iomem_x32_set
author
Lior David
<liord@codeaurora.org>
Tue, 10 Sep 2019 13:46:39 +0000
(16:46 +0300)
committer
Kalle Valo
<kvalo@codeaurora.org>
Thu, 12 Sep 2019 15:07:35 +0000
(18:07 +0300)
writel_relaxed can be used in wil_debugfs_iomem_x32_set
since there is a wmb call immediately after.
Signed-off-by: Lior David <liord@codeaurora.org>
Signed-off-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wil6210/debugfs.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/wil6210/debugfs.c
b/drivers/net/wireless/ath/wil6210/debugfs.c
index
50dc30e
..
304b4d4
100644
(file)
--- a/
drivers/net/wireless/ath/wil6210/debugfs.c
+++ b/
drivers/net/wireless/ath/wil6210/debugfs.c
@@
-393,7
+393,8
@@
static int wil_debugfs_iomem_x32_set(void *data, u64 val)
if (ret < 0)
return ret;
- writel(val, (void __iomem *)d->offset);
+ writel_relaxed(val, (void __iomem *)d->offset);
+
wmb(); /* make sure write propagated to HW */
wil_pm_runtime_put(wil);