Re: [PATCH v13 20/53] ASoC: Add SOC USB APIs for adding an USB backend

From: Wesley Cheng
Date: Mon Feb 05 2024 - 17:08:29 EST


Hi Amadeusz,

On 2/5/2024 12:20 AM, Amadeusz Sławiński wrote:
On 2/3/2024 3:36 AM, Wesley Cheng wrote:
Some platforms may have support for offloading USB audio devices to a
dedicated audio DSP.  Introduce a set of APIs that allow for management of
USB sound card and PCM devices enumerated by the USB SND class driver.
This allows for the ASoC components to be aware of what USB devices are
available for offloading.

Signed-off-by: Wesley Cheng <quic_wcheng@xxxxxxxxxxx>
---

...

+
+/**
+ * snd_soc_usb_add_port() - Add a USB backend port
+ * @dev: USB backend device
+ * @priv: private data
+ * @connection_cb: connection status callback
+ *
+ * Register a USB backend device to the SND USB SOC framework. Memory is
+ * allocated as part of the USB backend device.
+ *
+ */
+int snd_soc_usb_add_port(struct snd_soc_usb *usb)
+{
+
+

Cosmetic, but why is there white space between start of function and body of function?


Thanks for catching this. Will fix it.

Thanks
Wesley Cheng