summaryrefslogtreecommitdiffstats
path: root/sound/soc/generic
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/generic')
-rw-r--r--sound/soc/generic/simple-card.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c
index 335ead0cbb8a..9b568f578bcd 100644
--- a/sound/soc/generic/simple-card.c
+++ b/sound/soc/generic/simple-card.c
@@ -464,6 +464,10 @@ static int simple_parse_of(struct asoc_simple_priv *priv)
464 if (ret < 0) 464 if (ret < 0)
465 return ret; 465 return ret;
466 466
467 ret = asoc_simple_parse_pin_switches(card, PREFIX);
468 if (ret < 0)
469 return ret;
470
467 /* Single/Muti DAI link(s) & New style of DT node */ 471 /* Single/Muti DAI link(s) & New style of DT node */
468 memset(&li, 0, sizeof(li)); 472 memset(&li, 0, sizeof(li));
469 for (li.cpu = 1; li.cpu >= 0; li.cpu--) { 473 for (li.cpu = 1; li.cpu >= 0; li.cpu--) {