V4L/DVB (11494): cx18: Send correct input routing value to external audio multiplexers
authorAndy Walls <awalls@radix.net>
Tue, 14 Apr 2009 00:43:31 +0000 (21:43 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 29 Apr 2009 18:41:10 +0000 (15:41 -0300)
A late v4l2_subdev framework change accidentally sent the audio input
routing value to the external multiplexer, instead of the muxer input routing
value to the external multiplexer.  This change corrects that error.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx18/cx18-audio.c

index 1519e91..7a8ad59 100644 (file)
@@ -44,7 +44,7 @@ int cx18_audio_set_io(struct cx18 *cx)
 
        /* handle muxer chips */
        v4l2_subdev_call(cx->sd_extmux, audio, s_routing,
-                       in->audio_input, 0, 0);
+                        (u32) in->muxer_input, 0, 0);
 
        err = cx18_call_hw_err(cx, cx->card->hw_audio_ctrl,
                               audio, s_routing, in->audio_input, 0, 0);