linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* serial_cs: oxsemi quirk breaks resume
@ 2009-11-10  7:54 Pavel Machek
  2009-11-10 10:32 ` Alan Cox
  2010-01-15 20:01 ` Pavel Machek
  0 siblings, 2 replies; 7+ messages in thread
From: Pavel Machek @ 2009-11-10  7:54 UTC (permalink / raw)
  To: kernel list, gregkh, KMoorman, w.sang, ken_kawasaki, davem,
	Andrew Morton, alan


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-01-16  7:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-10  7:54 serial_cs: oxsemi quirk breaks resume Pavel Machek
2009-11-10 10:32 ` Alan Cox
2009-11-10 10:53   ` Pavel Machek
2010-01-15 20:01 ` Pavel Machek
2010-01-15 23:53   ` Greg KH
2010-01-15 23:54     ` Greg KH
2010-01-16  7:38       ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).