Yes, the goto_out was intended to happen if the conditions are met. The exitcode should then tell the usb subsystem that the driver does not want this device. So, the expected way would be to hit the second printk and bail out. What puzzles me is that class and proto are 0 here, while in the lsusb output you pasted they were different. Maybe I look at the wrong variables...
Yes, the goto_out was intended to happen if the conditions are met. The exitcode should then tell the usb subsystem that the driver does not want this device. So, the expected way would be to hit the second printk and bail out. What puzzles me is that class and proto are 0 here, while in the lsusb output you pasted they were different. Maybe I look at the wrong variables...