summaryrefslogtreecommitdiffstats
path: root/.cocciconfig
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2018-12-21 10:11:20 +0100
committerMark Brown <broonie@kernel.org>2019-01-03 17:32:52 +0100
commit28b698b7342c7d5300cfe217cd77ff7d2a55e03d (patch)
treed695309cc1d97634b1b737e14307b6c815fbe5fc /.cocciconfig
parentASoC: xlnx: change license header format style (diff)
downloadlinux-28b698b7342c7d5300cfe217cd77ff7d2a55e03d.tar.xz
linux-28b698b7342c7d5300cfe217cd77ff7d2a55e03d.zip
ASoC: pcm512x: Fix a double unlock in pcm512x_digital_mute()
We accidentally call mutex_unlock(&pcm512x->mutex); twice in a row. I re-wrote the error handling to use "goto unlock;" instead of returning directly. Hopefully, it makes the code a little simpler. Fixes: 3500f1c589e9 ("ASoC: pcm512x: Implement the digital_mute interface") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviwed-by: Dimitris Papavasiliou <dpapavas@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions