summaryrefslogtreecommitdiffstats
path: root/drivers/char/msp3400.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1998-09-19 19:15:08 +0000
committerRalf Baechle <ralf@linux-mips.org>1998-09-19 19:15:08 +0000
commit03ba4131783cc9e872f8bb26a03f15bc11f27564 (patch)
tree88db8dba75ae06ba3bad08e42c5e52efc162535c /drivers/char/msp3400.c
parent257730f99381dd26e10b832fce4c94cae7ac1176 (diff)
- Merge with Linux 2.1.121.
- Bugfixes.
Diffstat (limited to 'drivers/char/msp3400.c')
-rw-r--r--drivers/char/msp3400.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/char/msp3400.c b/drivers/char/msp3400.c
index 18cce49dd..6068ff3d7 100644
--- a/drivers/char/msp3400.c
+++ b/drivers/char/msp3400.c
@@ -1070,6 +1070,10 @@ static int msp3400c_command(struct i2c_device *device,
(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;