diff options
author | Justin Chen <justinpopo6@gmail.com> | 2022-10-05 12:13:55 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-10-22 12:51:53 +0200 |
commit | fb8f60dd1b67520e0e0d7978ef17d015690acfc1 (patch) | |
tree | 0695deacbafe7a4933914381f291e195b1fb48aa /drivers/usb/gadget/function/uvc_video.c | |
parent | 4e3a50293c2b21961f02e1afa2f17d3a1a90c7c8 (diff) | |
download | linux-fb8f60dd1b67520e0e0d7978ef17d015690acfc1.tar.gz linux-fb8f60dd1b67520e0e0d7978ef17d015690acfc1.tar.bz2 linux-fb8f60dd1b67520e0e0d7978ef17d015690acfc1.zip |
usb: bdc: change state when port disconnected
When port is connected and then disconnected, the state stays as
configured. Which is incorrect as the port is no longer configured,
but in a not attached state.
Signed-off-by: Justin Chen <justinpopo6@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Fixes: efed421a94e6 ("usb: gadget: Add UDC driver for Broadcom USB3.0 device controller IP BDC")
Cc: stable <stable@kernel.org>
Link: https://lore.kernel.org/r/1664997235-18198-1-git-send-email-justinpopo6@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/gadget/function/uvc_video.c')
0 files changed, 0 insertions, 0 deletions