Commit 18c576f9 authored by Pavel Machek's avatar Pavel Machek Committed by Greg Kroah-Hartman

serial: serial_cs: oxsemi quirk breaks resume

Quirk is applied on all cards with given manfid (is it that correct?).
Unfortunately, that quirk breaks resume on zaurus with billionton
bluetooth card inserted: c950ctrl is 0 and outb() faults.

I believe it is simply not a multiport card.  (info->multi == 1).  ...
...  confirmed by printks.
Signed-off-by: default avatarPavel Machek <pavel@ucw.cz>
Acked-by: default avatarAlan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 2e2eb509
...@@ -146,6 +146,7 @@ static void quirk_wakeup_oxsemi(struct pcmcia_device *link) ...@@ -146,6 +146,7 @@ static void quirk_wakeup_oxsemi(struct pcmcia_device *link)
{ {
struct serial_info *info = link->priv; struct serial_info *info = link->priv;
if (info->c950ctrl)
outb(12, info->c950ctrl + 1); outb(12, info->c950ctrl + 1);
} }
......
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