Skip to content
Commit 66b88b07 authored by Stephen Warren's avatar Stephen Warren Committed by Lukasz Majewski
Browse files

usb: ums: add error handling for failed registration



Without this, if g_dnl_register() fails, the UMS code continues on
blindly and crashes. This fix makes it simply print an error message
instead.

Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
parent 340ed422
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment