[media] ir: avoid race conditions at device disconnect
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 14 Oct 2010 15:23:56 +0000 (12:23 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 09:54:01 +0000 (07:54 -0200)
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>

No differences found