Skip to content
Commit 17309a6a authored by Tao Ren's avatar Tao Ren Committed by Felipe Balbi
Browse files

usb: gadget: add "usb_validate_langid" function



The USB LANGID validation code in "check_user_usb_string" function is
moved to "usb_validate_langid" function which can be used by other usb
gadget drivers.

Signed-off-by: default avatarTao Ren <rentao.bupt@gmail.com>
Signed-off-by: default avatarFelipe Balbi <balbi@kernel.org>
parent 5cc0710f
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