diff options
| author | Cristian Ciocaltea <[email protected]> | 2025-07-04 11:52:54 +0000 |
|---|---|---|
| committer | Dmitry Baryshkov <[email protected]> | 2025-07-05 19:05:39 +0000 |
| commit | 40818680d8350dc35b1d1ac31c75038d13461126 (patch) | |
| tree | e41b6c54d85ef819f081536cc6536be1e78213a7 /rust/helpers/workqueue.c | |
| parent | drm/bridge: Fix kdoc comment for DRM_BRIDGE_OP_HDMI_CEC_ADAPTER (diff) | |
| download | kernel-40818680d8350dc35b1d1ac31c75038d13461126.tar.gz kernel-40818680d8350dc35b1d1ac31c75038d13461126.zip | |
drm/bridge: adv7511: Fix DRM_BRIDGE_OP_HDMI_{AUDIO|CEC_ADAPTER} setup
When driver is built with either CONFIG_DRM_I2C_ADV7511_AUDIO or
CONFIG_DRM_I2C_ADV7511_CEC disabled, drm_bridge_connector_init() is
expected to fail with -EINVAL. That is because all required audio (or
CEC) related callbacks in adv7511_bridge_funcs ended up being NULL.
Set DRM_BRIDGE_OP_HDMI_AUDIO and DRM_BRIDGE_OP_HDMI_CEC_ADAPTER bridge
ops only when the aforementioned kernel config options have been
enabled.
Fixes: ae01d3183d27 ("drm/bridge: adv7511: switch to the HDMI connector helpers")
Signed-off-by: Cristian Ciocaltea <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Baryshkov <[email protected]>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions
