diff options
author | Takashi Iwai <tiwai@suse.de> | 2023-08-20 19:26:35 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-08-21 16:20:55 +0200 |
commit | 17a1eab7b70d85fc5711f37bb6e530b771736bb7 (patch) | |
tree | fe309bb87fd0fdcbf5f3eae5f8a392734cd86c45 /sound/soc/amd | |
parent | 1c80cc055b3f9fb72606d58c27eb2486c4b919a7 (diff) | |
download | linux-stable-17a1eab7b70d85fc5711f37bb6e530b771736bb7.tar.gz linux-stable-17a1eab7b70d85fc5711f37bb6e530b771736bb7.tar.bz2 linux-stable-17a1eab7b70d85fc5711f37bb6e530b771736bb7.zip |
ALSA: hda/tas2781: Fix PM refcount unbalance at tas2781_hda_bind()
The error path of tas2781_hda_bind() needs to release PM refcount as
well. Modify the code flow to handle properly.
Fixes: 5be27f1e3ec9 ("ALSA: hda/tas2781: Add tas2781 HDA driver")
Reported-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Closes: https://lore.kernel.org/r/9f910785-e856-1539-e3e4-c9817af5fe67@linux.intel.com
Link: https://lore.kernel.org/r/20230820172635.22236-2-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/amd')
0 files changed, 0 insertions, 0 deletions