diff options
| author | Amadeusz Sławiński <amade@asmblr.net> | 2026-10-14 22:06:05 +0200 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-10-15 23:08:06 +0100 |
| commit | fc081cdfc6b370f6b6853cdeb4313f92561770d1 (patch) | |
| tree | bc03c08a76bcd4141fc93c05793ca9f43ac51de6 /scripts/basic | |
| parent | 77dfd98b1642b9bc6c2312bd8b805c321fb878b0 (diff) | |
| download | linux-fc081cdfc6b370f6b6853cdeb4313f92561770d1.tar.gz linux-fc081cdfc6b370f6b6853cdeb4313f92561770d1.zip | |
ASoC: soc-ac97: Fix error handling in snd_soc_new_ac97_component()
If call to snd_soc_ac97_init_gpio() fails, proper removal procedure
should mirror snd_soc_free_ac97_component() behaviour and call
device_del() before put_device().
Fixes: 9bf5c3d11f1f ("ASoC: ac97: add gpio chip")
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
Link: https://patch.msgid.link/20261014200608.118770-6-amade@asmblr.net
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
