Hi, Similar kernel-doc comments here... On 1/16/25 3:28 PM, Wesley Cheng wrote: > Create a USB BE component that will register a new USB port to the ASoC USB > framework. This will handle determination on if the requested audio > profile is supported by the USB device currently selected. > > Check for if the PCM format is supported during the hw_params callback. If > the profile is not supported then the userspace ALSA entity will receive an > error, and can take further action. > > Signed-off-by: Wesley Cheng <quic_wcheng@xxxxxxxxxxx> > --- > include/sound/q6usboffload.h | 20 +++ > sound/soc/qcom/Kconfig | 10 ++ > sound/soc/qcom/qdsp6/Makefile | 1 + > sound/soc/qcom/qdsp6/q6usb.c | 246 ++++++++++++++++++++++++++++++++++ > 4 files changed, 277 insertions(+) > create mode 100644 include/sound/q6usboffload.h > create mode 100644 sound/soc/qcom/qdsp6/q6usb.c > > diff --git a/include/sound/q6usboffload.h b/include/sound/q6usboffload.h > new file mode 100644 > index 000000000000..cca6d353afc3 > --- /dev/null > +++ b/include/sound/q6usboffload.h > @@ -0,0 +1,20 @@ > +/* SPDX-License-Identifier: GPL-2.0 > + * > + * sound/q6usboffload.h -- QDSP6 USB offload > + * > + * Copyright (c) 2022-2025 Qualcomm Innovation Center, Inc. All rights reserved. > + */ > + > +/** > + * struct q6usb_offload Missing short description. > + * @dev - dev handle to usb be > + * @domain - allocated iommu domain > + * @sid - streamID for iommu > + * @intr_num - usb interrupter number Wrong separator character. > + **/ > +struct q6usb_offload { > + struct device *dev; > + struct iommu_domain *domain; > + long long sid; > + u16 intr_num; > +}; -- ~Randy