media: em28xx: Set GPIOs for non-audio boards when switching input
authorNils Rothaug <nils.rothaug@gmx.de>
Sun, 23 Jun 2024 10:46:47 +0000 (12:46 +0200)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Sat, 29 Jun 2024 10:20:05 +0000 (12:20 +0200)
commit361e2ff5cefe10da266ced01845ab0b08112a1fd
tree399e90f006b9c031710d6ab2cf83b4447b481044
parentceac017e1292913a256f1d90ff367e9e868f1c86
media: em28xx: Set GPIOs for non-audio boards when switching input

Fixes changing the Line Out audio source with the video input
on MyGica UTV3 board. Previously, GPIOs were only set in
em28xx_set_audio_source(), which only boards with USB audio
support reach.

Signed-off-by: Nils Rothaug <nils.rothaug@gmx.de>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/usb/em28xx/em28xx-core.c