coresight-etm: unlock on error paths in mode_store()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 9 Jan 2015 23:57:12 +0000 (16:57 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Jan 2015 13:04:13 +0000 (05:04 -0800)
commit6ad1095990328e7e4b3a0e260825ad4b6406785a
treed020effd1b05032e866bdb425836150a3d526f2c
parentfbc4a8a85777e065f7a195ddc58b3245808f1e87
coresight-etm: unlock on error paths in mode_store()

There are some missing unlocks on the error paths.

Fixes: a939fc5a71ad ('coresight-etm: add CoreSight ETM/PTM driver')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/coresight/coresight-etm3x.c