[media] em28xx: use atomic bit operations for devices-in-use mask
authorChris Rankin <rankincj@yahoo.com>
Sat, 20 Aug 2011 11:21:03 +0000 (08:21 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 3 Sep 2011 23:49:51 +0000 (20:49 -0300)
Use atomic bit operations for the em28xx_devused mask, to prevent an
unlikely race condition should two adapters be plugged in
simultaneously. The operations also clearer than explicit bit
manipulation anyway.

Signed-off-by: Chris Rankin <rankincj@yahoo.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found