[media] rc: unlock on error in store_protocols()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 27 Nov 2012 16:35:30 +0000 (13:35 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 27 Dec 2012 15:59:02 +0000 (13:59 -0200)
commitafe5624b142279c6072ce1872811e309ad7e94be
treefdf169b07b3168a36752492ee55fce0f46c47ed2
parenta44dca1717ce2c2381339e21c07d1731a63a7888
[media] rc: unlock on error in store_protocols()

This error path is missing the unlock.

[mchehab@redhat.com: Merged two equal patches into one]
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Acked-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/rc/rc-main.c