diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/samsung/i2s.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sound/soc/samsung/i2s.c b/sound/soc/samsung/i2s.c index 54df6db57d1..d7e4006252f 100644 --- a/sound/soc/samsung/i2s.c +++ b/sound/soc/samsung/i2s.c @@ -993,11 +993,13 @@ static int samsung_i2s_dai_probe(struct snd_soc_dai *dai) return -ENXIO; } - /* Set clock hierarchy for audio subsystem */ - ret = clk_set_hierarchy(i2s); - if (ret) { - dev_err(&i2s->pdev->dev, "failed to set clock hierachy.\n"); - return ret; + if (i2s->quirks & QUIRK_SEC_DAI) { + /* Set clock hierarchy for audio subsystem */ + ret = clk_set_hierarchy(i2s); + if (ret) { + dev_err(&i2s->pdev->dev, "failed to set clock hierachy.\n"); + return ret; + } } if (other) { |