mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
pcmcia: xirc2ps_cs bugfix
We need to set io_lines to 10 unconditionally. Reported-by: Komuro <[email protected]> CC: [email protected] Signed-off-by: Dominik Brodowski <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
fe622e76fd
commit
4914c7f881
1 changed files with 1 additions and 1 deletions
|
|
@ -808,6 +808,7 @@ xirc2ps_config(struct pcmcia_device * link)
|
|||
}
|
||||
|
||||
link->resource[0]->flags |= IO_DATA_PATH_WIDTH_16;
|
||||
link->io_lines = 10;
|
||||
if (local->modem) {
|
||||
int pass;
|
||||
|
||||
|
|
@ -839,7 +840,6 @@ xirc2ps_config(struct pcmcia_device * link)
|
|||
}
|
||||
printk(KNOT_XIRC "no ports available\n");
|
||||
} else {
|
||||
link->io_lines = 10;
|
||||
link->resource[0]->end = 16;
|
||||
for (ioaddr = 0x300; ioaddr < 0x400; ioaddr += 0x10) {
|
||||
link->resource[0]->start = ioaddr;
|
||||
|
|
|
|||
Loading…
Reference in a new issue