* [PATCH] drm/meson: cleanup unnecessary condition in kconfig
@ 2026-06-24 21:35 Gabriel Carvalho
2026-07-07 19:35 ` Martin Blumenstingl
0 siblings, 1 reply; 2+ messages in thread
From: Gabriel Carvalho @ 2026-06-24 21:35 UTC (permalink / raw)
To: Neil Armstrong
Cc: Julian Braha, Jerome Brunet, Martin Blumenstingl, dri-devel,
linux-amlogic, linux-kernel, Gabriel Carvalho
DRM_MESON_DW_HDMI and DRM_MESON_DW_MIPI_DSI both already depend on
DRM_MESON, so the "if DRM_MESON" on their "default y" lines is
redundant.
This redundant condition was found by kconfirm, a static analysis tool
for Kconfig.
Signed-off-by: Gabriel Carvalho <gabriel-n-carvalho@outlook.com>
Reviewed-by: Julian Braha <julianbraha@gmail.com>
---
drivers/gpu/drm/meson/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/meson/Kconfig b/drivers/gpu/drm/meson/Kconfig
index 417f79829cf8..c3800825ac15 100644
--- a/drivers/gpu/drm/meson/Kconfig
+++ b/drivers/gpu/drm/meson/Kconfig
@@ -17,13 +17,13 @@ config DRM_MESON
config DRM_MESON_DW_HDMI
tristate "HDMI Synopsys Controller support for Amlogic Meson Display"
depends on DRM_MESON
- default y if DRM_MESON
+ default y
select DRM_DW_HDMI
imply DRM_DW_HDMI_I2S_AUDIO
config DRM_MESON_DW_MIPI_DSI
tristate "MIPI DSI Synopsys Controller support for Amlogic Meson Display"
depends on DRM_MESON
- default y if DRM_MESON
+ default y
select DRM_DW_MIPI_DSI
select GENERIC_PHY_MIPI_DPHY
base-commit: cdeb2ccd993ed8647adbbda2c3b103aa717fd6f7
--
2.53.0
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] drm/meson: cleanup unnecessary condition in kconfig
2026-06-24 21:35 [PATCH] drm/meson: cleanup unnecessary condition in kconfig Gabriel Carvalho
@ 2026-07-07 19:35 ` Martin Blumenstingl
0 siblings, 0 replies; 2+ messages in thread
From: Martin Blumenstingl @ 2026-07-07 19:35 UTC (permalink / raw)
To: Gabriel Carvalho
Cc: Neil Armstrong, Julian Braha, Jerome Brunet, dri-devel,
linux-amlogic, linux-kernel
On Wed, Jun 24, 2026 at 11:36 PM Gabriel Carvalho
<gabriel-n-carvalho@outlook.com> wrote:
>
> DRM_MESON_DW_HDMI and DRM_MESON_DW_MIPI_DSI both already depend on
> DRM_MESON, so the "if DRM_MESON" on their "default y" lines is
> redundant.
>
> This redundant condition was found by kconfirm, a static analysis tool
> for Kconfig.
>
> Signed-off-by: Gabriel Carvalho <gabriel-n-carvalho@outlook.com>
> Reviewed-by: Julian Braha <julianbraha@gmail.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-07-07 19:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-24 21:35 [PATCH] drm/meson: cleanup unnecessary condition in kconfig Gabriel Carvalho
2026-07-07 19:35 ` Martin Blumenstingl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox