71f5a1e80f37c80648e271c5ed2604a1 parent b784cfcec7293f688b09d3850826216a4e134d2e author Mauro Carvalho Chehab 1287069836 -0300 committer Mauro Carvalho Chehab 1287654841 -0200 [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 Signed-off-by: Mauro Carvalho Chehab &}­¡•3x