]> git.karo-electronics.de Git - karo-tx-linux.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)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:16:47 +0000 (21:16 -0600)
commit95d5373dfc9f24822de548a470cf6d08e7497dcf
treed81c88ec680d1fd94593bf3190aca299dcc8089e
parent5df32c1a9f998108a26fef79bb3e38b63c2b8265
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>
(cherry picked from commit 2b0db996ba2d9b833c2bd2d73cbf301abe11c60e)
sound/soc/fsl/fsl_ssi.c