summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorWayne Chang <waynec@nvidia.com>2022-12-16 07:20:26 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-17 19:19:09 +0300
commit2582d629c9e01687aee905ac0bce33615a8a004a (patch)
treeb61bb5d2ab11668d3a83899180b8c01c14bc9145 /include/linux
parent569d23e9bf58464887c55aa0d2bdb0ead97f8592 (diff)
downloadlinux-2582d629c9e01687aee905ac0bce33615a8a004a.tar.xz
usb: gadget: xudc: Refactor update data role work
The notification call chain should be registered after the device gets ready. Otherwise, we might get errors when setting data roles in an incomplete system. This patch refactors update data role work and register the notifier call chain after the system gets ready. Signed-off-by: Wayne Chang <waynec@nvidia.com> Signed-off-by: Haotien Hsu <haotienh@nvidia.com> Link: https://lore.kernel.org/r/20221216042026.98517-1-haotienh@nvidia.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions