spi: Drop io_mutex in error paths
authorMark Brown <broonie@kernel.org>
Tue, 9 Aug 2016 16:45:33 +0000 (17:45 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 9 Aug 2016 16:45:33 +0000 (17:45 +0100)
commit764f21665a12e99f03124b4c8de722cdbff92213
tree36fe8040e861bbd43ae060a87d607e4de48c8ae5
parent29b4817d4018df78086157ea3a55c1d9424a7cfc
spi: Drop io_mutex in error paths

A couple of error paths were missing drops of io_mutex.

Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c