-
Kay Sievers authored
dev->udev was set to NULL to indicate a device disconnect but we need this value for usb_buffer_free() when device is still opened and cleanup is delayed until skel_release(). I've added a dev->present for preventing device read, write and ioctl. Also URB_NO_DMA_MAP is changed to URB_NO_TRANSFER_DMA_MAP and a unused var is removed.
23d4cf5a