commit | b4d752b308493b08b51ea04361848ef63d0cad42 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@redhat.com> | Thu Oct 14 12:23:56 2010 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Thu Oct 21 07:54:01 2010 -0200 |
tree | 9e74d74471f5a1e80f37c80648e271c5ed2604a1 | |
parent | b784cfcec7293f688b09d3850826216a4e134d2e [diff] |
[media] ir: avoid race conditions at device disconnect It is possible that, while ir_unregister_class() is handling, some application could try to access the sysfs nodes, causing an OOPS. Reviewed-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>