Input: synaptics-rmi4 - unlock on error
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 17 Nov 2016 01:23:22 +0000 (17:23 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 17 Nov 2016 01:31:26 +0000 (17:31 -0800)
commit792f497b22afd0563b94dd8fa129a05f762a2c25
treebc00a243bc03828bea163c2bd56f5991b2da5284
parent82264d0cf7aef2247563c031ff2ab96579d5d0cc
Input: synaptics-rmi4 - unlock on error

We should unlock before returning on this error path.

Fixes: 3a762dbd5347 ('[media] Input: synaptics-rmi4 - add support for F54 diagnostics')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/rmi4/rmi_f54.c