diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-04-09 16:29:19 (GMT) |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-04-16 18:36:29 (GMT) |
commit | 054880febeb890b24d705240384856ea6b3ccf7b (patch) | |
tree | 2b98e7204e1f40d55523da642d5eb4d2d1fee8d7 /include | |
parent | f04209a7b0a9942aa78f8b27e63a8a5cc097adf8 (diff) | |
download | linux-054880febeb890b24d705240384856ea6b3ccf7b.tar.xz |
ASoC: core: Bind DAIs to CODECs at registration time
We should always have a CODEC already there when registering a CODEC DAI
and for CODEC<->CODEC links a dai_link will have two CODECs so it's much
simpler to do things at registration time.
This results in a slight change in the error handling for failed CODEC
DAI registrations but practically speaking these are never supposed to
fail so there shouldn't be much issue. The change is that we don't fail
the overall CODEC registration if the DAI registration fails; this seems
more robust anyway as we may not need to use a given DAI in a particular
system.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions