]> git.baikalelectronics.ru Git - kernel.git/commit
Input: hp_sdc_rtc - unlock on error in hp_sdc_rtc_read_i8042timer()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 19 Nov 2013 21:28:06 +0000 (13:28 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 21 Nov 2013 05:15:31 +0000 (21:15 -0800)
commit459b0e7be2b00eb7494ef35d0dc4f9a9ccd5faf3
tree033d51b5ae9914a0b1bb25596fb71bc7e56547f6
parentae90fda026541d1d7ea84e65737e3c4285a51290
Input: hp_sdc_rtc - unlock on error in hp_sdc_rtc_read_i8042timer()

The transaction task here is hp_sdc_tasklet() and it releases the lock.
The problem is if we aren't able to queue the transaction then we need
to release the lock ourselves.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/hp_sdc_rtc.c