Commit 6bcb2325 authored by Wei.Chen's avatar Wei.Chen Committed by Todd Kjos
Browse files

ANDROID: Add vendor hook to skip usb audio suspend in offload mode



android_vh_audio_usb_offload_suspend:
	To skip pcm suspend in offload mode

We need a vendor hook to skip usb audio suspend in  offload mode.
In kernel5.4 the cmd SNDRV_PCM_TRIGGER_SUSPEND and SNDRV_PCM_TRIGGER_STOP are treated differently.
However, they are treated the same in kernel5.15, which will lead to system suspend while music playing in offload mode.

Bug: 237022398
Test: build pass / music playing / recording

Signed-off-by: default avatarWei Chen <wei.chen3@unisoc.com>
Change-Id: Ib6ec0a1419493801aeba2e045b33384f246f43b5
parent 455e0a85
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment