patch-2.2.0-pre7 linux/drivers/char/radio-aimslab.c

Next file: linux/drivers/char/vt.c
Previous file: linux/drivers/char/pc_keyb.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre6/linux/drivers/char/radio-aimslab.c linux/drivers/char/radio-aimslab.c
@@ -101,6 +101,7 @@
 		outb(0x48, io);		/* volume down but still "on"	*/
 		sleep_delay(2000000);	/* make sure it's totally down	*/
 		outb(0xd0, io);		/* volume steady, off		*/
+		dev->curvol = 0;	/* track the volume state!	*/
 		return 0;
 	}
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov