mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
Merge "asoc: refine the probe for loopback devices"
This commit is contained in:
commit
a1ba6206ad
1 changed files with 2 additions and 2 deletions
|
|
@ -198,8 +198,8 @@ static struct snd_kcontrol_new msm_loopback_controls[] = {
|
|||
|
||||
static int msm_pcm_loopback_probe(struct snd_soc_component *component)
|
||||
{
|
||||
if (of_property_read_bool(component->dev->of_node,
|
||||
"qcom,msm-pcm-loopback")) {
|
||||
if (!of_property_read_bool(component->dev->of_node,
|
||||
"qcom,msm-pcm-loopback-low-latency")) {
|
||||
snd_soc_add_component_controls(component, msm_loopback_controls,
|
||||
ARRAY_SIZE(msm_loopback_controls));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue