Lines Matching defs:ret
31 int ret;
33 ret = snd_soc_dai_set_sysclk(asoc_rtd_to_codec(rtd, 0), SGTL5000_SYSCLK,
35 if (ret) {
37 return ret;
60 int ret;
62 ret = of_property_read_u32(np, "mux-int-port", &int_port);
63 if (ret) {
65 return ret;
67 ret = of_property_read_u32(np, "mux-ext-port", &ext_port);
68 if (ret) {
70 return ret;
79 ret = imx_audmux_v2_configure_port(int_port,
86 if (ret) {
88 return ret;
90 ret = imx_audmux_v2_configure_port(ext_port,
93 if (ret) {
95 return ret;
102 ret = -EINVAL;
109 ret = -EPROBE_DEFER;
116 ret = -EPROBE_DEFER;
122 ret = -ENOMEM;
128 ret = -ENOMEM;
134 ret = PTR_ERR(data->codec_clk);
159 ret = snd_soc_of_parse_card_name(&data->card, "model");
160 if (ret)
162 ret = snd_soc_of_parse_audio_routing(&data->card, "audio-routing");
163 if (ret)
174 ret = devm_snd_soc_register_card(&pdev->dev, &data->card);
175 if (ret) {
176 if (ret != -EPROBE_DEFER)
178 ret);
195 return ret;