diff options
author | Chris Rankin <rankincj@yahoo.com> | 2011-08-20 08:21:03 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-09-03 20:49:51 -0300 |
commit | 38b61eb2dac06fdc42815b004e9824d8196cfcfb (patch) | |
tree | 9a6a74936ab7c4d7d33511b247b0d745373caf9c /drivers/media/video/em28xx/em28xx-input.c | |
parent | f38f33395232db1a03d21b992af1714cbffbdec4 (diff) | |
download | talos-obmc-linux-38b61eb2dac06fdc42815b004e9824d8196cfcfb.tar.gz talos-obmc-linux-38b61eb2dac06fdc42815b004e9824d8196cfcfb.zip |
[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>
Diffstat (limited to 'drivers/media/video/em28xx/em28xx-input.c')
0 files changed, 0 insertions, 0 deletions