We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbfe8fa commit de4a196Copy full SHA for de4a196
drivers/acpi/nfit.c
@@ -1024,15 +1024,15 @@ static void wmb_blk(struct nfit_blk *nfit_blk)
1024
wmb_pmem();
1025
}
1026
1027
-static u64 read_blk_stat(struct nfit_blk *nfit_blk, unsigned int bw)
+static u32 read_blk_stat(struct nfit_blk *nfit_blk, unsigned int bw)
1028
{
1029
struct nfit_blk_mmio *mmio = &nfit_blk->mmio[DCR];
1030
u64 offset = nfit_blk->stat_offset + mmio->size * bw;
1031
1032
if (mmio->num_lines)
1033
offset = to_interleave_offset(offset, mmio);
1034
1035
- return readq(mmio->base + offset);
+ return readl(mmio->base + offset);
1036
1037
1038
static void write_blk_ctl(struct nfit_blk *nfit_blk, unsigned int bw,
0 commit comments