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:
Wei Chen <wei.chen3@unisoc.com>
Change-Id: Ib6ec0a1419493801aeba2e045b33384f246f43b5
Loading
Please sign in to comment