Commit 3e9c0d59 authored by Linus Torvalds's avatar Linus Torvalds Committed by Linus Torvalds

Stricter PCI IO space type checking uncovered a bug in sx8 driver.

Forgot to add in the mmio base..
parent e4611fb1
......@@ -1414,7 +1414,7 @@ static int carm_init_host(struct carm_host *host)
tmp8 = readb(mmio + CARM_INITC);
if (tmp8 & 0x01) {
tmp8 &= ~0x01;
writeb(tmp8, CARM_INITC);
writeb(tmp8, mmio + CARM_INITC);
readb(mmio + CARM_INITC); /* flush */
DPRINTK("snooze...\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment