OSDN Git Service

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)
commit2b0db996ba2d9b833c2bd2d73cbf301abe11c60e
tree158fb6ae2fb796c57bd87eebdff1be38fab3ca9f
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5
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