Skip to content
Commit 66bd76e7 authored by Jules Irenge's avatar Jules Irenge Committed by Felipe Balbi
Browse files

usb: gadget: Add missing annotation for xudc_handle_setup()



Sparse reports a warning at xudc_handle_setup()

warning: context imbalance in xudc_handle_setup() - unexpected unlock

The root cause is the missing annotation at xudc_handle_setup()

Add the missing __must_hold(&udc->lock) annotation

Signed-off-by: default avatarJules Irenge <jbi.octave@gmail.com>
Signed-off-by: default avatarFelipe Balbi <balbi@kernel.org>
parent 46b11a91
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