Messages in this thread Patch in this message | | | Date | Tue, 10 Nov 2009 08:54:11 +0100 | From | Pavel Machek <> | Subject | 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.
Signed-off-by: Pavel Machek <pavel@ucw.cz>
--- a/drivers/serial/serial_cs.c 2009-10-06 13:51:46.000000000 +0200 +++ b/drivers/serial/serial_cs.c 2009-11-09 14:43:25.000000000 +0100 @@ -158,7 +158,8 @@ { 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... */
-- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
| |