[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230308235751.495-15-quic_wcheng@quicinc.com>
Date: Wed, 8 Mar 2023 15:57:37 -0800
From: Wesley Cheng <quic_wcheng@...cinc.com>
To: <srinivas.kandagatla@...aro.org>, <mathias.nyman@...el.com>,
<perex@...ex.cz>, <broonie@...nel.org>, <lgirdwood@...il.com>,
<krzysztof.kozlowski+dt@...aro.org>, <agross@...nel.org>,
<Thinh.Nguyen@...opsys.com>, <bgoswami@...cinc.com>,
<andersson@...nel.org>, <robh+dt@...nel.org>,
<gregkh@...uxfoundation.org>, <tiwai@...e.com>
CC: <linux-kernel@...r.kernel.org>, <linux-arm-msm@...r.kernel.org>,
<alsa-devel@...a-project.org>, <devicetree@...r.kernel.org>,
<linux-usb@...r.kernel.org>, <quic_jackp@...cinc.com>,
<quic_plai@...cinc.com>, Wesley Cheng <quic_wcheng@...cinc.com>
Subject: [PATCH v3 14/28] sound: usb: pcm: Export fixed rate check USB SND API
Some modules will handle calling snd_usb_endpoint_open() instead of the USB
SND framework. The USB SND endpoint open function added a new argument to
determine if the connect USB device can support multiple sampling rates.
Signed-off-by: Wesley Cheng <quic_wcheng@...cinc.com>
---
sound/usb/pcm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/usb/pcm.c b/sound/usb/pcm.c
index 4576a36dc9b2..482c160cbc17 100644
--- a/sound/usb/pcm.c
+++ b/sound/usb/pcm.c
@@ -186,6 +186,7 @@ bool snd_usb_pcm_has_fixed_rate(struct snd_usb_substream *subs)
}
return true;
}
+EXPORT_SYMBOL_GPL(snd_usb_pcm_has_fixed_rate);
static int init_pitch_v1(struct snd_usb_audio *chip, int ep)
{
Powered by blists - more mailing lists