public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Add missing restore_flags to sm_wss.c (244-ac18)
@ 2001-05-27 19:51 Rasmus Andersen
  0 siblings, 0 replies; only message in thread
From: Rasmus Andersen @ 2001-05-27 19:51 UTC (permalink / raw)
  To: sailer; +Cc: linux-kernel

Hi.

The following patch adds a missing restore_flags as per the
stanford team's report way back. Applies against 244ac18.


--- linux-244-ac18-clean/drivers/net/hamradio/soundmodem/sm_wss.c	Wed Jul 19 01:55:19 2000
+++ linux-244-ac18/drivers/net/hamradio/soundmodem/sm_wss.c	Sun May 27 21:36:25 2001
@@ -172,8 +172,10 @@
 		/* MCE and interface config reg */
 		write_codec(dev, 0x49, fdx ? 0x8 : 0xc);
 	outb(0xb, WSS_CODEC_IA(dev->base_addr)); /* leave MCE */
-	if (SCSTATE->crystal && !fullcalib)
+	if (SCSTATE->crystal && !fullcalib) {
+		restore_flags(flags);
 		return 0;
+	}
 	/*
 	 * wait for ACI start
 	 */
-- 
Regards,
        Rasmus(rasmus@jaquet.dk)

I've overclocked my keyboard interface.  It's quite messy dipping my
hands into the mineral oil, but *MAN* is my keyboard ever fast now!
                                         - Anonymous Coward

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-05-27 19:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-27 19:51 [PATCH] Add missing restore_flags to sm_wss.c (244-ac18) Rasmus Andersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox