mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
wil6210: fix for "runtime PM when interface is down"
The original change used readl and writel which can be replaced with readl_relaxed and writel_relaxed, since we take care of memory barriers in the code. Change-Id: I4e653f51c24ee4b2fa3d1aee38574fa097424e63 Signed-off-by: Lior David <liord@codeaurora.org>
This commit is contained in:
parent
38f7cf1743
commit
c214ad2ab4
1 changed files with 1 additions and 1 deletions
|
|
@ -402,7 +402,7 @@ static int wil_debugfs_iomem_x32_get(void *data, u64 *val)
|
|||
if (ret < 0)
|
||||
return ret;
|
||||
|
||||
*val = readl((void __iomem *)d->offset);
|
||||
*val = readl_relaxed((void __iomem *)d->offset);
|
||||
|
||||
wil_pm_runtime_put(wil);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue