ASoC: qcom: qdsp6: Add USB backend ASoC driver for Q6
authorWesley Cheng <quic_wcheng@quicinc.com>
Wed, 9 Apr 2025 19:47:57 +0000 (12:47 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Apr 2025 11:02:32 +0000 (13:02 +0200)
commit72b0b8b2998043c50b191d9668c7a828ca0d5c70
tree1b8e1731fc720d2be504cbc65897f73ced9f2b17
parent3aafa53515b052ce353a0fc931f7fb188b229ceb
ASoC: qcom: qdsp6: Add USB backend ASoC driver for Q6

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@quicinc.com>
Acked-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20250409194804.3773260-25-quic_wcheng@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/sound/q6usboffload.h [new file with mode: 0644]
sound/soc/qcom/Kconfig
sound/soc/qcom/qdsp6/Makefile
sound/soc/qcom/qdsp6/q6usb.c [new file with mode: 0644]