diff options
| -rw-r--r-- | sound/soc/msm/msm8996.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/soc/msm/msm8996.c b/sound/soc/msm/msm8996.c index fb1b117daad7..63ab59b89197 100644 --- a/sound/soc/msm/msm8996.c +++ b/sound/soc/msm/msm8996.c @@ -8724,7 +8724,9 @@ static int msm8996_init_wsa_dev(struct platform_device *pdev, int found = 0; int i; int ret; - +#ifndef CONFIG_SND_SOC_WSA881X + return -EINVAL; +#endif /* Get maximum WSA device count for this platform */ ret = of_property_read_u32(pdev->dev.of_node, "qcom,wsa-max-devs", &wsa_max_devs); |
