commit | 4957133fe32fec9a5fc57ce95b6107e976dcc251 | [log] [tgz] |
---|---|---|
author | Sean Young <sean@mess.org> | Sat Nov 04 08:30:45 2017 -0400 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Thu Dec 14 10:35:26 2017 -0500 |
tree | 8fbcdc5175fd304b73fda25e81ad52d49fe30e7c | |
parent | 7e45d660e4d487aa2cbeb003bd4338433feba30a [diff] |
media: lirc: improve locking Once rc_unregister_device() has been called, no driver function should be called. This prevents some nasty race conditions with an ioctl calls driver functions when the driver specific data has been freed. Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>