PATCH: re-enable POST on via audio

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 14 Jul 2003 13:26:24 +0100


diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.22-pre5/drivers/sound/via82cxxx_audio.c linux.22-pre5-ac1/drivers/sound/via82cxxx_audio.c
--- linux.22-pre5/drivers/sound/via82cxxx_audio.c 2003-07-14 12:27:39.000000000 +0100
+++ linux.22-pre5-ac1/drivers/sound/via82cxxx_audio.c 2003-07-08 17:04:50.000000000 +0100
@@ -3226,7 +3226,7 @@
/* inform device of an upcoming pause in input (or output). */
case SNDCTL_DSP_POST:
DPRINTK ("DSP_POST\n");
- if (0 && wr) {
+ if (wr) {
if (card->ch_out.slop_len > 0)
via_chan_flush_frag (&card->ch_out);
via_chan_maybe_start (&card->ch_out);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/