summaryrefslogtreecommitdiff
path: root/drivers/fsi/fsi-sbefifo.c
diff options
context:
space:
mode:
authorEddie James <eajames@linux.vnet.ibm.com>2018-07-03 16:21:29 -0500
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2018-07-12 11:51:12 +1000
commitc00bac88764a0f294d34b40e5f4987de8ceab711 (patch)
treeaf66dc9fad74cc7073f27fedd726960dadfa4aae /drivers/fsi/fsi-sbefifo.c
parent6b293258cded9c8ee44cce4081d9170d6d1b5f5d (diff)
fsi: sbefifo: Add missing mutex_unlock
There was no unlock of the FFDC mutex. Fixes: 9f4a8a2d7f9d ("fsi/sbefifo: Add driver for the SBE FIFO") Signed-off-by: Eddie James <eajames@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/fsi/fsi-sbefifo.c')
-rw-r--r--drivers/fsi/fsi-sbefifo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/fsi/fsi-sbefifo.c b/drivers/fsi/fsi-sbefifo.c
index 4f076fd2939c..a34ff997ca9d 100644
--- a/drivers/fsi/fsi-sbefifo.c
+++ b/drivers/fsi/fsi-sbefifo.c
@@ -194,6 +194,7 @@ static void sbefifo_dump_ffdc(struct device *dev, const __be32 *ffdc,
}
dev_warn(dev, "+-------------------------------------------+\n");
}
+ mutex_unlock(&sbefifo_ffdc_mutex);
}
int sbefifo_parse_status(struct device *dev, u16 cmd, __be32 *response,