Skip to content

Commit 5ddaf68

Browse files
arndbgregkh
authored andcommitted
s5k4ecgx: select CRC32 helper
commit c739c0a7c3c2472d7562b8f802cdce44d2597c8b upstream. A rare randconfig build failure shows up in this driver when the CRC32 helper is not there: drivers/media/built-in.o: In function `s5k4ecgx_s_power': s5k4ecgx.c:(.text+0x9eb4): undefined reference to `crc32_le' This adds the 'select' that all other users of this function have. Fixes: 8b99312 ("[media] Add v4l2 subdev driver for S5K4ECGX sensor") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 5288474 commit 5ddaf68

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/media/i2c/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,7 @@ config VIDEO_S5K6A3
607607
config VIDEO_S5K4ECGX
608608
tristate "Samsung S5K4ECGX sensor support"
609609
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
610+
select CRC32
610611
---help---
611612
This is a V4L2 sensor-level driver for Samsung S5K4ECGX 5M
612613
camera sensor with an embedded SoC image signal processor.

0 commit comments

Comments
 (0)