]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: fsl-ssi: Remove fsl_ssi_setup
authorMarkus Pargmann <mpa@pengutronix.de>
Sat, 15 Mar 2014 12:44:09 +0000 (13:44 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 14 Apr 2014 16:26:46 +0000 (17:26 +0100)
commitde32101f77b4d45f2f525f8463d3ef3520b4687d
tree158fb6ae2fb796c57bd87eebdff1be38fab3ca9f
parent03a169e57a9a3fd69c1713c317a06f163ad63b5c
ASoC: fsl-ssi: Remove fsl_ssi_setup

fsl_ssi_set_dai_fmt() manages most of the register setup routines now.
fsl_ssi_setup() makes the same as fsl_ssi_set_dai_fmt() but it relies on
DT properties.

In most cases the settings of fsl_ssi_setup() are already overwritten by
fsl_ssi_set_dai_fmt() when it is called by the soc-core when a sound
card is added. As these settings depend on the combination of codec and
cpu DAI, this should really be done by sound cards.

This patch removes fsl_ssi_setup() and adds the missing register setups
to fsl_ssi_set_dai_fmt(). It also removes all calls to fsl_ssi_setup().

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/fsl/fsl_ssi.c