]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
media: i2c: Kconfig: Fix missing firmware upload config select
authorKory Maincent <kory.maincent@bootlin.com>
Thu, 20 Jun 2024 10:25:43 +0000 (12:25 +0200)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 26 Jun 2024 06:14:02 +0000 (09:14 +0300)
FW_LOADER config only selects the firmware loader API, but we also need
the sysfs_upload symbols for firmware_upload_unregister() and
firmware_upload_register() to function properly.

Fixes: 7a52ab415b43 ("media: i2c: Add driver for THine THP7312")
Cc: stable@vger.kernel.org
Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Link: https://lore.kernel.org/r/20240620102544.1918105-1-kory.maincent@bootlin.com
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/media/i2c/Kconfig

index 8aac41513b5998331f39ce697607f003244d6e3b..8ba096b8ebca241239a327ab3af0d9bce3ee9962 100644 (file)
@@ -710,6 +710,7 @@ config VIDEO_THP7312
        tristate "THine THP7312 support"
        depends on I2C
        select FW_LOADER
+       select FW_UPLOAD
        select MEDIA_CONTROLLER
        select V4L2_CCI_I2C
        select V4L2_FWNODE