* [PATCH v3 0/2] media: Kconfig: Make DVB_CORE=m possible when MEDIA_SUPPORT=y
@ 2022-05-16 17:15 Lecopzer Chen
2022-05-16 17:15 ` [PATCH v3 1/2] media: mantis: Kconfig: add depends on DVB_CORE for MANTIS_CORE Lecopzer Chen
2022-05-16 17:15 ` [PATCH v3 2/2] media: Kconfig: Make DVB_CORE=m possible when MEDIA_SUPPORT=y Lecopzer Chen
0 siblings, 2 replies; 3+ messages in thread
From: Lecopzer Chen @ 2022-05-16 17:15 UTC (permalink / raw)
To: mchehab, linux-media, linux-kernel; +Cc: hverkuil, yj.chiang, Lecopzer Chen
A case that CONFIG_MEDIA_SUPPORT is y but we need DVB_CORE=m, and
this doesn't work since DVB_CORE is default MEDIA_DIGITAL_TV_SUPPORT
and then follows MEDIA_SUPPORT.
After DVB_CORE can change manually, following patches fix the
cases with new combination of media config.
Lecopzer Chen (2):
media: mantis: Kconfig: add depends on DVB_CORE for MANTIS_CORE
media: Kconfig: Make DVB_CORE=m possible when MEDIA_SUPPORT=y
drivers/media/Kconfig | 2 +-
drivers/media/pci/mantis/Kconfig | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--
2.18.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v3 1/2] media: mantis: Kconfig: add depends on DVB_CORE for MANTIS_CORE
2022-05-16 17:15 [PATCH v3 0/2] media: Kconfig: Make DVB_CORE=m possible when MEDIA_SUPPORT=y Lecopzer Chen
@ 2022-05-16 17:15 ` Lecopzer Chen
2022-05-16 17:15 ` [PATCH v3 2/2] media: Kconfig: Make DVB_CORE=m possible when MEDIA_SUPPORT=y Lecopzer Chen
1 sibling, 0 replies; 3+ messages in thread
From: Lecopzer Chen @ 2022-05-16 17:15 UTC (permalink / raw)
To: mchehab, linux-media, linux-kernel; +Cc: hverkuil, yj.chiang, Lecopzer Chen
MANTIS_CORE needs DVB_CORE, set 'depends on' explicitly
ERROR: modpost: "dvb_dmx_init" [drivers/media/pci/mantis/mantis_core.ko] undefined!
ERROR: modpost: "dvb_unregister_adapter" [drivers/media/pci/mantis/mantis_core.ko] undefined!
ERROR: modpost: "dvb_register_frontend" [drivers/media/pci/mantis/mantis_core.ko] undefined!
ERROR: modpost: "dvb_ca_en50221_camchange_irq" [drivers/media/pci/mantis/mantis_core.ko] undefined!
ERROR: modpost: "dvb_unregister_frontend" [drivers/media/pci/mantis/mantis_core.ko] undefined!
>> ERROR: modpost: "dvb_ca_en50221_camready_irq" [drivers/media/pci/mantis/mantis_core.ko] undefined!
>> ERROR: modpost: "dvb_frontend_detach" [drivers/media/pci/mantis/mantis_core.ko] undefined!
>> ERROR: modpost: "dvb_dmxdev_release" [drivers/media/pci/mantis/mantis_core.ko] undefined!
>> ERROR: modpost: "dvb_dmx_swfilter" [drivers/media/pci/mantis/mantis_core.ko] undefined!
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Lecopzer Chen <lecopzer.chen@mediatek.com>
---
drivers/media/pci/mantis/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/pci/mantis/Kconfig b/drivers/media/pci/mantis/Kconfig
index 9dfaf2c9a7b3..374b8f382f62 100644
--- a/drivers/media/pci/mantis/Kconfig
+++ b/drivers/media/pci/mantis/Kconfig
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
config MANTIS_CORE
tristate "Mantis/Hopper PCI bridge based devices"
- depends on PCI && I2C && INPUT && RC_CORE
+ depends on PCI && I2C && INPUT && RC_CORE && DVB_CORE
help
Support for PCI cards based on the Mantis and Hopper PCi bridge.
--
2.18.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH v3 2/2] media: Kconfig: Make DVB_CORE=m possible when MEDIA_SUPPORT=y
2022-05-16 17:15 [PATCH v3 0/2] media: Kconfig: Make DVB_CORE=m possible when MEDIA_SUPPORT=y Lecopzer Chen
2022-05-16 17:15 ` [PATCH v3 1/2] media: mantis: Kconfig: add depends on DVB_CORE for MANTIS_CORE Lecopzer Chen
@ 2022-05-16 17:15 ` Lecopzer Chen
1 sibling, 0 replies; 3+ messages in thread
From: Lecopzer Chen @ 2022-05-16 17:15 UTC (permalink / raw)
To: mchehab, linux-media, linux-kernel
Cc: hverkuil, yj.chiang, Lecopzer Chen, Hans Verkuil
A case that CONFIG_MEDIA_SUPPORT is y but we need DVB_CORE=m, and
this doesn't work since DVB_CORE is default MEDIA_DIGITAL_TV_SUPPORT
and then follows MEDIA_SUPPORT.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Lecopzer Chen <lecopzer.chen@mediatek.com>
---
drivers/media/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
index ba6592b3dab2..c64bba94f950 100644
--- a/drivers/media/Kconfig
+++ b/drivers/media/Kconfig
@@ -182,7 +182,7 @@ config MEDIA_CONTROLLER
#
config DVB_CORE
- tristate
+ tristate "DVB Core"
depends on MEDIA_DIGITAL_TV_SUPPORT
depends on (I2C || I2C=n)
default MEDIA_DIGITAL_TV_SUPPORT
--
2.18.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-05-16 17:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-16 17:15 [PATCH v3 0/2] media: Kconfig: Make DVB_CORE=m possible when MEDIA_SUPPORT=y Lecopzer Chen
2022-05-16 17:15 ` [PATCH v3 1/2] media: mantis: Kconfig: add depends on DVB_CORE for MANTIS_CORE Lecopzer Chen
2022-05-16 17:15 ` [PATCH v3 2/2] media: Kconfig: Make DVB_CORE=m possible when MEDIA_SUPPORT=y Lecopzer Chen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).