diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-03-24 01:07:08 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-03-26 18:35:48 -0700 |
commit | 1efb53a220b78fdfdbb97b726a2156713e75bdab (patch) | |
tree | 5d1a9b68d843786eb865eacbdfca12afc25e3ba8 /include/sound | |
parent | 947a37cd38796f5b196a934353165a001cbcb0a9 (diff) | |
download | op-kernel-dev-1efb53a220b78fdfdbb97b726a2156713e75bdab.zip op-kernel-dev-1efb53a220b78fdfdbb97b726a2156713e75bdab.tar.gz |
ASoC: simple-card: Remove support for setting differing DAI formats
Having to set different formats on the CPU side and the CODEC side of a DAI
link is usually indication that something is terribly wrong and in most
cases is a result of a broken driver that implements a set_fmt() callback
which does not follow the specification. In the past this feature has been
used to work around broken drivers, rather than fixing them. We don't really
want to encourage this, so remove support for setting different formats on
both ends of the link.
Along the way switch to static DAI format setup by setting the the dai_fmt
field of the snd_soc_dai_link rather than calling snd_soc_dai_fmt().
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/simple_card.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sound/simple_card.h b/include/sound/simple_card.h index 1255ddb..b9b4f28 100644 --- a/include/sound/simple_card.h +++ b/include/sound/simple_card.h @@ -16,7 +16,6 @@ struct asoc_simple_dai { const char *name; - unsigned int fmt; unsigned int sysclk; int slots; int slot_width; |