diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2020-05-28 10:50:21 +0900 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-05-30 02:11:36 +0100 |
commit | 27f07cacc9f1ddf955b85e5746f967351ab0b40b (patch) | |
tree | 98ec2aec4ad575bda43ba93b61a292a0097f14cd /sound/isa/sb | |
parent | 739443d1f162ce80eb717c695e58302958b51239 (diff) |
ASoC: soc-card: add probed bit field to snd_soc_card
We already have bit field to control snd_soc_card.
Let's add "probed" field on it instead of local variable.
One note here is that soc_cleanup_card_resources()
will be called as (A) formal cleanup or as (B) error handling,
thus, it needs to distinguish these.
In (A) case, card will have "instantiated" flag if all probe
callback functions were called without error.
Thus, snd_soc_unbind_card() is using it to judging card was probed.
But this this patch removes it, because it is no longer needed.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/87r1v4zv36.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/isa/sb')
0 files changed, 0 insertions, 0 deletions