fixed issue with calling set_configuration before detaching the kernel driver on Raspberry PI