Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0606d9b2 authored by Hemant Kumar's avatar Hemant Kumar
Browse files

usb: bam: Remove suspend_work



u_bam and u_bam_data driver is calling usb_bam_suspend() from
work context. usb_bam_suspend() is queuing one more work i.e.
suspend_work to perform IPA handshake. Hence avoid another
context switch and directly call usb_bam_start_suspend() directly
from usb_bam_suspend().

Change-Id: I209a3eee10b43903ddc86818259723f9144f4089
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
parent 48d55840
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment