linux/drivers/soundwire
Srinivas Kandagatla 9315d904c7 soundwire: stream: fix bad unlock balance
the msg lock is taken for multi-link cases only but released
unconditionally, leading to an unlock balance warning for single-link usages
This patch fixes this.

 =====================================
 WARNING: bad unlock balance detected!
 5.1.0-16506-gc1c383a6f0a2-dirty #1523 Tainted: G        W
 -------------------------------------
 aplay/2954 is trying to release lock (&bus->msg_lock) at:
 do_bank_switch+0x21c/0x480
 but there are no more locks to release!

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Acked-by: Sanyog Kale <sanyog.r.kale@intel.com>
[vkoul: edited the change log as suggested by Pierre]
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2019-06-06 22:46:04 +05:30
..
bus_type.c soundwire: bus_type: fix alignment issues 2019-05-02 17:16:27 +02:00
bus.c soundwire: avoid multiple assignments 2019-05-02 17:17:51 +02:00
bus.h soundwire: fix alignment issues in header files 2019-05-02 17:16:26 +02:00
cadence_master.c soundwire: cadence: remove empty line after braces 2019-05-02 17:17:50 +02:00
cadence_master.h soundwire: fix alignment issues in header files 2019-05-02 17:16:26 +02:00
intel_init.c soundwire: intel: remove empty line after braces 2019-05-02 17:17:51 +02:00
intel.c soundwire: intel: more alignment fixes 2019-05-02 17:17:51 +02:00
intel.h soundwire: fix SPDX license for header files 2019-05-02 17:09:00 +02:00
Kconfig soundwire: fix kconfig help format 2019-05-02 17:17:50 +02:00
Makefile soundwire: Add support for SoundWire stream management 2018-05-11 21:47:03 +05:30
mipi_disco.c soundwire: remove empty line before/after braces 2019-05-02 17:17:50 +02:00
slave.c soundwire: slave: fix alignment issues 2019-05-02 17:16:28 +02:00
stream.c soundwire: stream: fix bad unlock balance 2019-06-06 22:46:04 +05:30