summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorChunyan Zhang <chunyan.zhang@unisoc.com>2023-10-13 10:20:10 +0800
committerLee Jones <lee@kernel.org>2023-11-01 11:29:15 +0000
commit50be9e029b3ac72848685d7a74d1bd32b36309bf (patch)
tree7b4abeae569530ffb5b7013cd127dc6f1e184dd1 /sound
parent259e33cbb1712a7dd844fc9757661cc47cb0e39b (diff)
downloadlinux-stable-50be9e029b3ac72848685d7a74d1bd32b36309bf.tar.gz
linux-stable-50be9e029b3ac72848685d7a74d1bd32b36309bf.tar.bz2
linux-stable-50be9e029b3ac72848685d7a74d1bd32b36309bf.zip
leds: sc27xx: Move mutex_init() down
Move the mutex_init() to avoid redundant mutex_destroy() calls after that for each time the probe fails. Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com> Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com> Link: https://lore.kernel.org/r/20231013022010.854367-1-chunyan.zhang@unisoc.com Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions