diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2023-09-02 19:34:31 +0200 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2023-10-09 21:34:29 +0200 |
commit | 44b968d0d0868b7a9b7a5c64464ada464ff4d532 (patch) | |
tree | 85dde795028984d815a645d3ff36a1521f49f20d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 3d59c22bbb8d03f3f14e6d0845d44c146fb48f35 (diff) |
drm/rockchip: cdn-dp: Fix some error handling paths in cdn_dp_probe()
cdn_dp_audio_codec_init() can fail. So add some error handling.
If component_add() fails, the previous cdn_dp_audio_codec_init() call
should be undone, as already done in the remove function.
Fixes: 88582f564692 ("drm/rockchip: cdn-dp: Don't unregister audio dev when unbinding")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/8494a41602fadb7439630921a9779640698f2f9f.1693676045.git.christophe.jaillet@wanadoo.fr
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions