Skip to contentSkip to conversation

use atomic bit operations for devices-in-use mask

PATCH In review Chris Rankin 1 participant 1 message Sep 24, 2011 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 use atomic bit operations for devices-in-use mask

This line was probably missed in the merge.

drivers/media/video/em28xx/em28xx-cards.c renamed from drivers/media/video/em28xx/em28xx-cards.c.orig.0 +0 -1
@@ -3114,7 +3114,6 @@
 				em28xx_err(DRIVER_NAME " This is an anciliary "
 					"interface not used by the driver\n");
 
-				em28xx_devused &= ~(1<<nr);
 				retval = -ENODEV;
 				goto err;
 			}