1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/msm/dp
Srinivas Kandagatla 85c636284c drm/msm/dp: unregister audio driver during unbind
while binding the code always registers a audio driver, however there
is no corresponding unregistration done in unbind. This leads to multiple
redundant audio platform devices if dp_display_bind and dp_display_unbind
happens multiple times during startup. On X13s platform this resulted in
6 to 9 audio codec device instead of just 3 codec devices for 3 dp ports.

Fix this by unregistering codecs on unbind.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Fixes: d13e36d7d2 ("drm/msm/dp: add audio support for Display Port on MSM")
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/533324/
Link: https://lore.kernel.org/r/20230421145657.12186-1-srinivas.kandagatla@linaro.org
Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
2023-04-26 16:45:35 -07:00
..
dp_audio.c drm/msm/dp: unregister audio driver during unbind 2023-04-26 16:45:35 -07:00
dp_audio.h drm/msm/dp: unregister audio driver during unbind 2023-04-26 16:45:35 -07:00
dp_aux.c drm/msm/dp: Return IRQ_NONE for unhandled interrupts 2023-04-06 20:29:44 +03:00
dp_aux.h drm/msm/dp: Return IRQ_NONE for unhandled interrupts 2023-04-06 20:29:44 +03:00
dp_catalog.c drm/msm/dp: Clean up handling of DP AUX interrupts 2023-04-06 20:29:44 +03:00
dp_catalog.h drm/msm/dp: Clean up handling of DP AUX interrupts 2023-04-06 20:29:44 +03:00
dp_ctrl.c drm/msm/dp: Return IRQ_NONE for unhandled interrupts 2023-04-06 20:29:44 +03:00
dp_ctrl.h drm/msm/dp: Return IRQ_NONE for unhandled interrupts 2023-04-06 20:29:44 +03:00
dp_debug.c drm/msm/dp: remove max_pclk_khz field from dp_panel/dp_display 2022-05-02 02:13:01 +03:00
dp_debug.h drm/msm/dp: Use the connector passed to dp_debug_get() 2021-10-15 16:40:09 -07:00
dp_display.c drm/msm/dp: unregister audio driver during unbind 2023-04-26 16:45:35 -07:00
dp_display.h drm/msm/dp: Add basic PSR support for eDP 2023-03-13 04:43:49 +03:00
dp_drm.c drm/msm/dp: set self refresh aware based on PSR support 2023-03-13 04:43:50 +03:00
dp_drm.h drm/msm/dp: use atomic callbacks for DP bridge ops 2023-03-13 04:43:49 +03:00
dp_hpd.c drm/msm/dp: Drop now unused hpd_high member 2021-11-29 16:19:58 -08:00
dp_hpd.h drm/msm/dp: Drop now unused hpd_high member 2021-11-29 16:19:58 -08:00
dp_link.c drm/msm/dp: Fix spelling mistake "Capabiity" -> "Capability" 2023-04-06 20:29:44 +03:00
dp_link.h drm/msm/dp: DisplayPort PHY compliance tests fixup 2020-11-04 08:26:25 -08:00
dp_panel.c drm/msm/dp: Add basic PSR support for eDP 2023-03-13 04:43:49 +03:00
dp_panel.h drm/msm/dp: Add basic PSR support for eDP 2023-03-13 04:43:49 +03:00
dp_parser.c drm/msm/dp: Add capability to parser and retrieve max DP link supported rate from link-frequencies property of dp_out endpoint 2023-01-09 03:06:44 +02:00
dp_parser.h drm/msm/dp: Add capability to parser and retrieve max DP link supported rate from link-frequencies property of dp_out endpoint 2023-01-09 03:06:44 +02:00
dp_power.c Char / Misc driver changes for 6.0-rc1 2022-08-04 11:05:48 -07:00
dp_power.h drm/msm/dp: Fixed couple of typos 2021-06-23 07:33:52 -07:00
dp_reg.h drm/msm/dp: Add basic PSR support for eDP 2023-03-13 04:43:49 +03:00