> Is there any reason for this, or was it just over-zealous lock-adding > that actually breaks the procedures for dealing with unplugged > open devices? Fixing a race. > Could someone test what actually happens when the usb cable is yanked on > some other open webcams on 2.4.19 or later? You need to remove the cable out of interrupt context, eg using schedule_work in 2.5