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:
Lior David 2019-01-08 13:35:54 +02:00 • committed by Alexei Avshalom Lazar
commit c214ad2ab4

View file

@ -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);