Lines Matching +full:audio +full:- +full:widgets
1 // SPDX-License-Identifier: GPL-2.0+
3 // Tobermory audio support
8 #include <sound/soc-dapm.h>
25 rtd = snd_soc_get_pcm_runtime(card, &card->dai_link[0]); in tobermory_set_bias_level()
28 if (dapm->dev != codec_dai->dev) in tobermory_set_bias_level()
33 if (dapm->bias_level == SND_SOC_BIAS_STANDBY) { in tobermory_set_bias_level()
68 rtd = snd_soc_get_pcm_runtime(card, &card->dai_link[0]); in tobermory_set_bias_level_post()
71 if (dapm->dev != codec_dai->dev) in tobermory_set_bias_level_post()
95 dapm->bias_level = level; in tobermory_set_bias_level_post()
113 DAILINK_COMP_ARRAY(COMP_CPU("samsung-i2s.0")),
114 DAILINK_COMP_ARRAY(COMP_CODEC("wm8962.1-001a", "wm8962")),
115 DAILINK_COMP_ARRAY(COMP_PLATFORM("samsung-i2s.0")));
133 static struct snd_soc_dapm_widget widgets[] = { variable
183 rtd = snd_soc_get_pcm_runtime(card, &card->dai_link[0]); in tobermory_late_probe()
184 component = asoc_rtd_to_codec(rtd, 0)->component; in tobermory_late_probe()
215 .dapm_widgets = widgets,
216 .num_dapm_widgets = ARRAY_SIZE(widgets),
229 card->dev = &pdev->dev; in tobermory_probe()
231 ret = devm_snd_soc_register_card(&pdev->dev, card); in tobermory_probe()
232 if (ret && ret != -EPROBE_DEFER) in tobermory_probe()
233 dev_err(&pdev->dev, "snd_soc_register_card() failed: %d\n", in tobermory_probe()
249 MODULE_DESCRIPTION("Tobermory audio support");