diff options
author | Wayne Chang <waynec@nvidia.com> | 2022-12-16 07:20:26 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-17 19:19:09 +0300 |
commit | 2582d629c9e01687aee905ac0bce33615a8a004a (patch) | |
tree | b61bb5d2ab11668d3a83899180b8c01c14bc9145 /include/linux/usb.h | |
parent | 569d23e9bf58464887c55aa0d2bdb0ead97f8592 (diff) | |
download | linux-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/usb.h')
0 files changed, 0 insertions, 0 deletions