]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: em28xx: add special case for legacy gpiolib interface
authorArnd Bergmann <arnd@arndb.de>
Fri, 8 Aug 2025 15:17:55 +0000 (17:17 +0200)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Fri, 29 Aug 2025 09:04:02 +0000 (11:04 +0200)
commitd5d299e7e7f6b4ead31383d4abffca34e4296df0
tree3fb8e3926e6106a136990b3051dbaa560f3f72af
parent7fa37ba25a1dfc084e24ea9acc14bf1fad8af14c
media: em28xx: add special case for legacy gpiolib interface

The em28xx driver uses the old-style gpio_request_one() interface to
switch the lna on the PCTV 290E card.

This interface is becoming optional and should no longer be called by
portable drivers. As I could not figure out an obvious replacement,
select the new GPIOLIB_LEGACY symbol as a workaround.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/usb/em28xx/Kconfig
drivers/media/usb/em28xx/em28xx-dvb.c