patch-2.1.117 linux/drivers/char/msp3400.c

Next file: linux/drivers/char/msp3400.h
Previous file: linux/drivers/char/msbusmouse.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.116/linux/drivers/char/msp3400.c linux/drivers/char/msp3400.c
@@ -1070,6 +1070,10 @@
 			(int)msp3400c_read(msp->bus, I2C_MSP3400C_DFP, 0x1c);
 		UNLOCK_I2C_BUS(msp->bus);
 		break;
+		
+	case MSP_GET_UNIT:
+		*iarg = msp->mixer;
+		break;
 	
 	default:
 		return -EINVAL;

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