commit | 38b61eb2dac06fdc42815b004e9824d8196cfcfb | [log] [tgz] |
---|---|---|
author | Chris Rankin <rankincj@yahoo.com> | Sat Aug 20 08:21:03 2011 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Sat Sep 03 20:49:51 2011 -0300 |
tree | 9a6a74936ab7c4d7d33511b247b0d745373caf9c | |
parent | f38f33395232db1a03d21b992af1714cbffbdec4 [diff] |
[media] em28xx: use atomic bit operations for devices-in-use mask 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>