soc-card.c (66da65005aa819e0b8d3a08f5ec1491b7690cb67) soc-card.c (df4d27b19b892f464685ea45fa6132dd1a2b6864)
1// SPDX-License-Identifier: GPL-2.0
2//
3// soc-card.c
4//
5// Copyright (C) 2019 Renesas Electronics Corp.
6// Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
7//
8#include <sound/soc.h>

--- 183 unchanged lines hidden (view full) ---

192 * snd_soc_bind_card()
193 * snd_soc_card_probe()
194 */
195 card->probed = 1;
196
197 return 0;
198}
199
1// SPDX-License-Identifier: GPL-2.0
2//
3// soc-card.c
4//
5// Copyright (C) 2019 Renesas Electronics Corp.
6// Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
7//
8#include <sound/soc.h>

--- 183 unchanged lines hidden (view full) ---

192 * snd_soc_bind_card()
193 * snd_soc_card_probe()
194 */
195 card->probed = 1;
196
197 return 0;
198}
199
200void snd_soc_card_fixup_controls(struct snd_soc_card *card)
201{
202 if (card->fixup_controls)
203 card->fixup_controls(card);
204}
205
200int snd_soc_card_remove(struct snd_soc_card *card)
201{
202 int ret = 0;
203
204 if (card->probed &&
205 card->remove)
206 ret = card->remove(card);
207

--- 48 unchanged lines hidden ---
206int snd_soc_card_remove(struct snd_soc_card *card)
207{
208 int ret = 0;
209
210 if (card->probed &&
211 card->remove)
212 ret = card->remove(card);
213

--- 48 unchanged lines hidden ---