]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: it6505: Add missing CRYPTO_HASH dependency
authorZheng Bin <zhengbin13@huawei.com>
Mon, 13 Jun 2022 15:06:53 +0000 (23:06 +0800)
committerRobert Foss <robert.foss@linaro.org>
Wed, 15 Jun 2022 16:28:47 +0000 (18:28 +0200)
commit61ce0526c2491e8c65fe9bf4977c1d73bde307af
treea25f9029c99e88cdf84e5c43ba39acfb196401bd
parent5844808464c82f503abcfaabc3b7286fdb265f6b
drm/bridge: it6505: Add missing CRYPTO_HASH dependency

The driver uses crypto hash functions so it needs to select CRYPTO_HASH.
This fixes build errors:

drivers/gpu/drm/bridge/ite-it6505.o: in function `it6505_hdcp_wait_ksv_list':
ite-it6505.c:(.text+0x4c26): undefined reference to `crypto_alloc_shash'
ite-it6505.c:(.text+0x4c6d): undefined reference to `crypto_shash_digest'
ite-it6505.c:(.text+0x4c7d): undefined reference to `crypto_destroy_tfm'
ite-it6505.c:(.text+0x4d69): undefined reference to `crypto_destroy_tfm'

Fixes: 6c5af350b990 ("drm/bridge: add it6505 driver")
Signed-off-by: Zheng Bin <zhengbin13@huawei.com>
Reviewed-by: Robert Foss <robert.foss@linaro.org>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220613150653.1310029-1-zhengbin13@huawei.com
drivers/gpu/drm/bridge/Kconfig