From: Antonio Ospite Date: Sat, 23 Mar 2013 21:40:25 +0000 (+0100) Subject: am7xxx: fail if USB configuration or interface are not right X-Git-Tag: v0.1.4~37^2~3 X-Git-Url: https://git.ao2.it/libam7xxx.git/commitdiff_plain/23ec35553ab4f1e7f1509f09d63987f2251e3873?hp=23ec35553ab4f1e7f1509f09d63987f2251e3873;ds=sidebyside am7xxx: fail if USB configuration or interface are not right Check the return values of libusb_set_configuration() and libusb_claim_interface(), this way it is easier to spot devices which require a different setting. ---