usb: f_gsi: Fix resume handling by making PM calls
Proper handling of RESUME in the GSI driver requires
a call to pm_runtime_get_noresume be made regardless
of remote wakeup flag sent from the host. Previously
a call to pm_runtime_get_noresume was missing in the
case of RESUME with remote wakeup disabled. Move all
pm_runtime_get_noresume calls to central place in
gsi_resume function.
CRs-Fixed: 998241
Change-Id: I9e0e7d41a959f31ec64700f51c8ab0f8410eb831
Signed-off-by:
Devdutt Patnaik <dpatnaik@codeaurora.org>
Loading
Please register or sign in to comment