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

Commit b27f2382 authored by Hemant Kumar's avatar Hemant Kumar Committed by Kyle Yan
Browse files

sound: usb: Add helper APIs to enable audio stream



Adding helper API to find usb substream context information
using card number, pcm device number and direction. This usb
substream is used to enable/disable by issuing SET_ALT
command to device. Also add disconnect call back to perform
any clean up required.

Change-Id: I252f5171bd94b5ab096eb1a2f053f29a8c049c3b
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
parent 55cdf932
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