Thread (1 message) 1 message, 1 author, 2024-09-23

Re: [PATCH v4 4/4] media: platform: synopsys: Add support for hdmi input driver

flat view

From: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Date: 2024-09-23 22:25:27
Also in: linux-devicetree, linux-media, linux-rockchip, lkml

On 7/23/24 11:48, Hans Verkuil wrote:
quoted
+static u8 edid_init_data_340M[] = {
This should be under #ifdef CONFIG_HDMIRX_LOAD_DEFAULT_EDID, since there is
no point to have this if you are not using it.
No need to use #ifdef since EDID array will be compiled out at a build
time. Kernel doesn't support old compilers that can't eliminate dead code.

#ifdef makes code less readable and adds requirement to build-test all
variants with/without the #ifdef, we don't want either of these.

-- 
Best regards,
Dmitry

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help