summaryrefslogtreecommitdiff
path: root/drivers/usb/fotg210/fotg210-udc.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2023-01-18 10:09:19 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-19 16:10:44 +0300
commitbb5fe85609c6e21e96fc5669ae200c68a1e05a9b (patch)
treeea39b02745ff772b65a57edf92a1845c61e1e8b6 /drivers/usb/fotg210/fotg210-udc.c
parentfaaca436699603355c5c9711942c6441eec38b0e (diff)
downloadlinux-bb5fe85609c6e21e96fc5669ae200c68a1e05a9b.tar.xz
usb: fotg210: Check role register in core
Read the role register and check that we are in host/peripheral mode and issue warnings if we're not in the right role when probing respective driver. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20230103-gemini-fotg210-usb-v2-5-100388af9810@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/fotg210/fotg210-udc.c')
0 files changed, 0 insertions, 0 deletions