[media] lirc_zilog: Add locking of the i2c_clients when in use
commitd6dbd939b97d271766a58a66d69b27023bc90993
authorAndy Walls <awalls@md.metrocast.net>
Thu, 17 Feb 2011 23:50:38 +0000 (17 20:50 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 22 Mar 2011 22:24:00 +0000 (22 19:24 -0300)
treec5b529b78794bcb823a34bc33489bbb0afecd175
parent5bd6b0464b68d429bc8a3fe6595d19c39dfc4d95
[media] lirc_zilog: Add locking of the i2c_clients when in use

Lock the i2c_client pointers and prevent i2c_client removal when
lirc_zilog is perfoming a series of operations that require valid
i2c_client pointers.

Signed-off-by: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/lirc/lirc_zilog.c