Lines Matching defs:ret
31 int ret;
33 ret = snd_soc_dai_set_pll(codec_dai, WM8904_FLL_MCLK, WM8904_FLL_MCLK,
35 if (ret < 0) {
37 return ret;
45 ret = snd_soc_dai_set_sysclk(codec_dai, WM8904_CLK_FLL,
47 if (ret < 0) {
49 return ret;
90 int ret;
97 ret = snd_soc_of_parse_card_name(card, "atmel,model");
98 if (ret) {
100 return ret;
103 ret = snd_soc_of_parse_audio_routing(card, "atmel,audio-routing");
104 if (ret) {
106 return ret;
112 ret = -EINVAL;
113 return ret;
122 ret = -EINVAL;
123 return ret;
135 int id, ret;
138 ret = atmel_asoc_wm8904_dt_init(pdev);
139 if (ret) {
141 return ret;
145 ret = atmel_ssc_set_audio(id);
146 if (ret != 0) {
148 return ret;
151 ret = snd_soc_register_card(card);
152 if (ret) {
161 return ret;