linux-stable/sound/soc
Nicolin Chen 37ac30a4bd
ASoC: fsl_ssi: Setup AC97 in fsl_ssi_hw_init()
AC97 configures most of registers earlier to start a communication
with CODECs in order to successfully initialize CODEC. Currently,
_fsl_ssi_set_dai_fmt() and fsl_ssi_setup_ac97() are called to get
all SSI registers properly set.

Since now the driver has a fsl_ssi_hw_init() to handle all register
initial settings, this patch moves those register settings of AC97
to the fsl_ssi_hw_init() as well.

Meanwhile it applies _fsl_ssi_set_dai_fmt() call to AC97 only since
other formats would be configured via normal set_dai_fmt() directly.

This patch also adds fsl_ssi_hw_clean() to cleanup control bits for
AC97 in the platform remote() function.

Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
Tested-by: Caleb Crome <caleb@crome.org>
Tested-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
Reviewed-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-02-21 12:30:56 +00:00
..
adi
amd ASoC: amd: added error checks in dma driver 2017-12-04 18:02:00 +00:00
atmel Merge remote-tracking branches 'asoc/topic/sam9x5_wm8731', 'asoc/topic/sgtl5000' and 'asoc/topic/sun8i-codec' into asoc-next 2018-02-07 11:25:47 +00:00
au1x ASoC: au1x: Fix timeout tests in au1xac97c_ac97_read() 2018-01-15 18:46:04 +00:00
bcm ASoC: bcm2835: fix hw_params error when device is in prepared state 2018-01-18 11:21:17 +00:00
blackfin
cirrus ASoC: ep93xx-ac97: Fix platform_get_irq's error checking 2017-12-01 13:04:51 +00:00
codecs ASoC: Updates for v4.16 2018-02-07 12:11:09 -08:00
davinci ASoC: davinci-mcasp: Add rule to constrain the minimum period size 2018-01-05 11:48:51 +00:00
dwc
fsl ASoC: fsl_ssi: Setup AC97 in fsl_ssi_hw_init() 2018-02-21 12:30:56 +00:00
generic
hisilicon ASoC: hisilicon: remove duplicate includes 2017-12-06 17:48:23 +00:00
img
intel Merge remote-tracking branches 'asoc/topic/ak4613', 'asoc/topic/core', 'asoc/topic/dmic' and 'asoc/topic/intel' into asoc-next 2018-02-07 11:25:41 +00:00
jz4740
kirkwood
mediatek Merge remote-tracking branches 'asoc/topic/max98373', 'asoc/topic/mtk', 'asoc/topic/pcm', 'asoc/topic/rockchip' and 'asoc/topic/sam9g20_wm8731' into asoc-next 2018-02-07 11:25:44 +00:00
mxs Merge remote-tracking branches 'asoc/topic/mxs', 'asoc/topic/mxs-sgtl5000', 'asoc/topic/nau8540', 'asoc/topic/nau8824' and 'asoc/topic/nau8825' into asoc-next 2018-01-18 11:56:05 +00:00
nuc900 ASoC: nuc900: Fix a loop timeout test 2017-12-11 11:42:04 +00:00
omap Driver Core updates for 4.16-rc1 2018-02-01 10:00:28 -08:00
pxa
qcom ASoC: don't use rtd->codec on qcom/apq8016_sbc 2017-12-05 12:44:23 +00:00
rockchip Merge remote-tracking branches 'asoc/topic/max98373', 'asoc/topic/mtk', 'asoc/topic/pcm', 'asoc/topic/rockchip' and 'asoc/topic/sam9g20_wm8731' into asoc-next 2018-02-07 11:25:44 +00:00
samsung ASoC: don't use rtd->codec on samsung/bells 2017-12-05 12:44:52 +00:00
sh Merge remote-tracking branch 'asoc/topic/rcar' into asoc-next 2018-01-18 11:55:37 +00:00
sirf
spear
sti
stm ASoC: stm32: add of dependency for stm32 drivers 2018-02-07 11:19:53 +00:00
sunxi Merge remote-tracking branches 'asoc/topic/sam9x5_wm8731', 'asoc/topic/sgtl5000' and 'asoc/topic/sun8i-codec' into asoc-next 2018-02-07 11:25:47 +00:00
tegra
txx9
uniphier ASoC: uniphier: add support for UniPhier EVEA codec 2017-12-04 18:36:15 +00:00
ux500 ASoC: ux500: add MODULE_LICENSE tag 2018-01-10 16:42:10 +00:00
xtensa
zte
Kconfig ASoC: uniphier: add support for UniPhier EVEA codec 2017-12-04 18:36:15 +00:00
Makefile ASoC: uniphier: add support for UniPhier EVEA codec 2017-12-04 18:36:15 +00:00
soc-ac97.c
soc-acpi.c ASoC: Intel - Convert to use acpi_dev_get_first_match_name() 2018-01-12 21:20:29 +00:00
soc-cache.c
soc-compress.c Merge remote-tracking branches 'asoc/fix/compress', 'asoc/fix/core', 'asoc/fix/dapm', 'asoc/fix/mtk' and 'asoc/fix/stm' into asoc-next 2018-02-07 11:21:02 +00:00
soc-core.c ASoC: Updates for v4.16 2018-02-07 12:11:09 -08:00
soc-dapm.c ASoC: Updates for v4.16 2018-02-07 12:11:09 -08:00
soc-devres.c
soc-generic-dmaengine-pcm.c
soc-io.c ASoC: add Component level .read/.write 2018-01-16 13:26:42 +00:00
soc-jack.c
soc-ops.c ASoC: change mask in snd_soc_get/put_volsw_sx to unsigned int 2018-01-03 12:32:04 +00:00
soc-pcm.c Merge remote-tracking branches 'asoc/topic/max98373', 'asoc/topic/mtk', 'asoc/topic/pcm', 'asoc/topic/rockchip' and 'asoc/topic/sam9g20_wm8731' into asoc-next 2018-02-07 11:25:44 +00:00
soc-topology.c
soc-utils.c ASoC: soc-utils: add const to dummy_codec 2017-11-29 10:48:45 +00:00