mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
media: VIDEO_IMX8_JPEG should depend on ARCH_MXC and not default to m
The i.MX8 QXP/QM integrated JPEG encoder/decoder is only present on
Freescale/NXP i.MX8 QXP and QM SoCs. Hence add a dependency on
ARCH_MXC, to prevent asking the user about this driver when configuring
a kernel without i.MX8 support.
Drop the "default m" (which means "default y" if CONFIG_MODULES is not
enabled), as merely enabling CONFIG_COMPILE_TEST should not enable
additional code.
Fixes: 2db16c6ed7
("media: imx-jpeg: Add V4L2 driver for i.MX8 JPEG Encoder/Decoder")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
34ad0137e3
commit
4cd15d84ca
1 changed files with 1 additions and 1 deletions
|
@ -1,11 +1,11 @@
|
||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
config VIDEO_IMX8_JPEG
|
config VIDEO_IMX8_JPEG
|
||||||
tristate "IMX8 JPEG Encoder/Decoder"
|
tristate "IMX8 JPEG Encoder/Decoder"
|
||||||
|
depends on ARCH_MXC || COMPILE_TEST
|
||||||
depends on VIDEO_DEV && VIDEO_V4L2
|
depends on VIDEO_DEV && VIDEO_V4L2
|
||||||
select VIDEOBUF2_DMA_CONTIG
|
select VIDEOBUF2_DMA_CONTIG
|
||||||
select V4L2_MEM2MEM_DEV
|
select V4L2_MEM2MEM_DEV
|
||||||
select V4L2_JPEG_HELPER
|
select V4L2_JPEG_HELPER
|
||||||
default m
|
|
||||||
help
|
help
|
||||||
This is a video4linux2 driver for the i.MX8 QXP/QM integrated
|
This is a video4linux2 driver for the i.MX8 QXP/QM integrated
|
||||||
JPEG encoder/decoder.
|
JPEG encoder/decoder.
|
||||||
|
|
Loading…
Reference in a new issue