Commit 15644bfa authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

media: em28xx: fix input name for Terratec AV 350

Instead of using a register value, use an AMUX name, as otherwise
VIDIOC_G_AUDIO would fail.

Cc: stable@vger.kernel.org
Fixes: 766ed64d ("V4L/DVB (11827): Add support for Terratec Grabster AV350")
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent f823ce2a
...@@ -2141,13 +2141,13 @@ const struct em28xx_board em28xx_boards[] = { ...@@ -2141,13 +2141,13 @@ const struct em28xx_board em28xx_boards[] = {
.input = { { .input = { {
.type = EM28XX_VMUX_COMPOSITE, .type = EM28XX_VMUX_COMPOSITE,
.vmux = TVP5150_COMPOSITE1, .vmux = TVP5150_COMPOSITE1,
.amux = EM28XX_AUDIO_SRC_LINE, .amux = EM28XX_AMUX_LINE_IN,
.gpio = terratec_av350_unmute_gpio, .gpio = terratec_av350_unmute_gpio,
}, { }, {
.type = EM28XX_VMUX_SVIDEO, .type = EM28XX_VMUX_SVIDEO,
.vmux = TVP5150_SVIDEO, .vmux = TVP5150_SVIDEO,
.amux = EM28XX_AUDIO_SRC_LINE, .amux = EM28XX_AMUX_LINE_IN,
.gpio = terratec_av350_unmute_gpio, .gpio = terratec_av350_unmute_gpio,
} }, } },
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment