ASoC: tegra-alt: Reset T210 driver modules
authorArun Shamanna Lakshmi <aruns@nvidia.com>
Fri, 15 Aug 2014 19:00:18 +0000 (12:00 -0700)
committerArun Shamanna Lakshmi <aruns@nvidia.com>
Fri, 26 Sep 2014 04:30:43 +0000 (21:30 -0700)
commit01e4c6fa80ec39857f80a7fd2235f664662f98f4
treea55287465e71c061587e66126b68c8ed82e2b92b
parent741d77df4ce2ea8b35b23191f297f3c668ca33d9
ASoC: tegra-alt: Reset T210 driver modules

1. Add soft reset for I2S, ADMAIF, AMX and ADX modules
    to handle successive start/stop scenarios
2. Flush AMX/ADX map table before sucessive mapping changes
3. Restore tx/rx_crtl, tx/rx_cif_crtl, i2s_ctrl
    and offset after soft reset

Bug 1442940

Change-Id: Id275fccf32857f897080f40ec2d9f25a532c262f
Signed-off-by: Arun Shamanna Lakshmi <aruns@nvidia.com>
Signed-off-by: Junghyun Kim <juskim@nvidia.com>
Reviewed-on: http://git-master/r/457198
sound/soc/tegra-alt/tegra210_admaif_alt.c
sound/soc/tegra-alt/tegra210_adx_alt.c
sound/soc/tegra-alt/tegra210_adx_alt.h
sound/soc/tegra-alt/tegra210_amx_alt.c
sound/soc/tegra-alt/tegra210_amx_alt.h
sound/soc/tegra-alt/tegra210_i2s_alt.c
sound/soc/tegra-alt/tegra210_i2s_alt.h