Skip to content

Commit

Permalink
serial: serial_cs: oxsemi quirk breaks resume
Browse files Browse the repository at this point in the history
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: Pavel Machek <pavel@ucw.cz>
Acked-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Pavel Machek authored and Greg Kroah-Hartman committed Jan 20, 2010
1 parent 2e2eb50 commit 18c576f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/serial/serial_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ static void quirk_wakeup_oxsemi(struct pcmcia_device *link)
{
struct serial_info *info = link->priv;

outb(12, info->c950ctrl + 1);
if (info->c950ctrl)
outb(12, info->c950ctrl + 1);
}

/* request_region? oxsemi branch does no request_region too... */
Expand Down

0 comments on commit 18c576f

Please sign in to comment.