Instead of checking for -EINVAL check that return is not successful since USB device may return other error code. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Add basic tests testing simple endpoint enable and configuration. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>