mirror of
https://github.com/torvalds/linux.git
synced 2026-05-29 17:43:52 +02:00
When build-testined with CONFIG_QCOM_MDT_LOADER=m and VIDEO_QCOM_IRIS=y,
the kernel fails to link:
x86_64-linux-ld: drivers/media/platform/qcom/iris/iris_firmware.o: in function `iris_fw_load':
iris_firmware.c:(.text+0xb0): undefined reference to `qcom_mdt_get_size'
iris_firmware.c:(.text+0xfd): undefined reference to `qcom_mdt_load'
The problem is the conditional 'select' statement. Change this to
make the driver built-in here regardless of CONFIG_ARCH_QCOM.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Dikshita Agarwal <dikshita.agarwal@oss.qualcomm.com>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Fixes: d19b163356 ("media: iris: implement video firmware load/unload")
Cc: stable@vger.kernel.org
Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
14 lines
505 B
Plaintext
14 lines
505 B
Plaintext
config VIDEO_QCOM_IRIS
|
|
tristate "Qualcomm iris V4L2 decoder driver"
|
|
depends on VIDEO_DEV
|
|
depends on ARCH_QCOM || COMPILE_TEST
|
|
select V4L2_MEM2MEM_DEV
|
|
select QCOM_MDT_LOADER
|
|
select QCOM_SCM
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
help
|
|
This is a V4L2 driver for Qualcomm iris video accelerator
|
|
hardware. It accelerates decoding operations on various
|
|
Qualcomm SoCs.
|
|
To compile this driver as a module choose m here.
|