Re: [PATCH v23 32/32] ASoC: doc: Add documentation for SOC USB

From: Wesley Cheng
Date: Wed Jun 12 2024 - 15:31:09 EST


Hi Bagas,

On 6/12/2024 5:25 AM, Bagas Sanjaya wrote:
On Mon, Jun 10, 2024 at 04:58:08PM -0700, Wesley Cheng wrote:
+Overview
+========
+In order to leverage the existing USB sound device support in ALSA, the
+introduction of the ASoC USB APIs, allow for the entities to communicate
+with one another.
"... ASoC USB APIs are introduced to allow for ..."

+USB Audio Device Connection Flow
+--------------------------------
+USB devices can be hotplugged into the USB root hub at any point in time.
+The BE DAI link should be aware of the current state of the physical USB
+port, i.e. if there are any USB devices with audio interface(s) connected.
+The following callback can be used to notify the BE DAI link of any change:
+
+ **connection_status_cb()**
"... connection_status_cb() can be used to ..."

Thanks.


Thanks for the review, will update

Thanks
Wesley Cheng