mirror of
https://github.com/LineageOS/android_kernel_fxtec_sm6115.git
synced 2026-06-09 15:35:44 +00:00
It is possible for the VBUS detect GPIO interrupt to occur before nop_set_peripheral() is called, in which case otg->gadget is NULL. Signed-off-by: Maarten ter Huurne <maarten@treewalker.org> Signed-off-by: Felipe Balbi <balbi@kernel.org>