usb: sam0: Ensure API arguments are valid
Make sure the parameters for the API functions are valid, return error
otherwise.
This is expected by the tests/subsys/usb/device test case.
Signed-off-by:
Benjamin Valentin <benpicco@googlemail.com>
Loading
Please sign in to comment