diff options
author | Takashi Iwai <tiwai@suse.de> | 2018-07-12 23:06:51 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-07-29 09:28:12 +0200 |
commit | f69548ffafcc4942022f16f2f192b24143de1dba (patch) | |
tree | 2a88b18a7d591cebd74af9cc53a59226db670b42 /sound/pcmcia | |
parent | ALSA: ctxfi: cthw20k2: Replace mdelay() with msleep() and usleep_range() (diff) | |
download | linux-f69548ffafcc4942022f16f2f192b24143de1dba.tar.xz linux-f69548ffafcc4942022f16f2f192b24143de1dba.zip |
ALSA: hda/hdmi: Use single mutex unlock in error paths
Instead of calling mutex_unlock() at each error path multiple times,
take the standard goto-and-a-single-unlock approach. This will
simplify the code and make easier to find the unbalanced mutex locks.
No functional changes, but only the code readability improvement as a
preliminary work for further changes.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pcmcia')
0 files changed, 0 insertions, 0 deletions