lkml.org 
[lkml]   [2009]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectserial_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


\
 
 \ /
  Last update: 2009-11-10 08:57    [W:0.068 / U:1.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site