]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/bridge: sii902x: Fix audio codec unregistration
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Wed, 3 Jan 2024 13:31:08 +0000 (15:31 +0200)
committerRobert Foss <rfoss@kernel.org>
Tue, 23 Jan 2024 11:58:07 +0000 (12:58 +0100)
commitbc77bde2d3f078c038f69c65387dca6fe0faacbd
treedf2273cbf7bbcc860244e7680a57c316e91cbbe4
parentdffdfb8f5de13a8cacf9589ceb70fcf1442d4803
drm/bridge: sii902x: Fix audio codec unregistration

The driver never unregisters the audio codec platform device, which can
lead to a crash on module reloading, nor does it handle the return value
from sii902x_audio_codec_init().

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Fixes: ff5781634c41 ("drm/bridge: sii902x: Implement HDMI audio support")
Cc: Jyri Sarha <jsarha@ti.com>
Reviewed-by: Aradhya Bhatia <a-bhatia1@ti.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Robert Foss <rfoss@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240103-si902x-fixes-v1-2-b9fd3e448411@ideasonboard.com
drivers/gpu/drm/bridge/sii902x.c