Skip to content
Commit f95f5ae4 authored by Benjamin Valentin's avatar Benjamin Valentin Committed by Kumar Gala
Browse files

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: default avatarBenjamin Valentin <benpicco@googlemail.com>
parent ffafa9c9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment