usb: u_bam_data: Directly call suspend/resume APIs from function suspend
Suspend APIs for BAM based functions mbim, ecm and rndis call
bam_data_disconnect() if remote wakeup is disabled otherwise call
bam_data_suspend(). Similarly resume APIs call bam_data_connect() if remote
wakeup is disabled otherwise call bam_data_resume(). Move disconnect and
connect calls inside bam_data_suspend() and bam_data_resume() respectively
and directly call bam_data_suspend() and bam_data_resume() from function
driver suspend.
Change-Id: Icd3f2382046b890c4a445566fd8ad43f57ea1246
Signed-off-by:
Hemant Kumar <hemantk@codeaurora.org>
Loading
Please register or sign in to comment