aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorSrinivas Kandagatla <[email protected]>2023-04-21 15:56:57 +0100
committerAbhinav Kumar <[email protected]>2023-04-26 16:45:35 -0700
commit85c636284cb63b7740b4ae98881ace92158068d3 (patch)
tree95b7f12eacf80ba7213380ca1ae9981c9bbff81c /lib/mpi/mpi-mod.c
parent16eb51aba0a72b8f60c6b98d1493844230293450 (diff)
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 <[email protected]> Fixes: d13e36d7d222 ("drm/msm/dp: add audio support for Display Port on MSM") Reviewed-by: Abhinav Kumar <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/533324/ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Abhinav Kumar <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions