From 4fb158354265e1a9775f910f467daa19a2222f5b Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Sat, 18 Mar 2006 22:24:49 +0100 Subject: Set audmode in VIDIOCSAUDIO. From: Hans Verkuil audmode was only assigned to a variable, not actually set in the VIDIOCSAUDIO command. Signed-off-by: Hans Verkuil --- linux/drivers/media/video/msp3400-driver.c | 1 + 1 file changed, 1 insertion(+) (limited to 'linux/drivers/media/video') diff --git a/linux/drivers/media/video/msp3400-driver.c b/linux/drivers/media/video/msp3400-driver.c index 32d37c7a1..06259892a 100644 --- a/linux/drivers/media/video/msp3400-driver.c +++ b/linux/drivers/media/video/msp3400-driver.c @@ -744,6 +744,7 @@ static int msp_command(struct i2c_client *client, unsigned int cmd, void *arg) if (va->mode != 0 && state->radio == 0) { state->audmode = msp_mode_v4l1_to_v4l2(va->mode); + msp_set_audmode(client); } break; } -- cgit v1.2.3