kernel: sound: soc: Fix TI codec reg access issue.
authorVinod G <vinodg@nvidia.com>
Sat, 3 Dec 2011 00:32:50 +0000 (16:32 -0800)
committerDan Willemsen <dwillemsen@nvidia.com>
Fri, 23 Mar 2012 22:50:20 +0000 (15:50 -0700)
commit08b459e7a4454b0f496b975fef28a4606579d2e9
tree29ed1329dda3ae493da017f96c0e3ab35c918f6f
parent56ea03fa038a0a04ac7ce29c4116a2c132ea12c2
kernel: sound: soc: Fix TI codec reg access issue.

Using snd_soc_write is causing some issue with TI codec.
So register read and write are handled locally inside the codec calls.
Added checking to continue card register based on codec availability, this
help to use either TI codec or wm8753 codec being present in the board.
bug 816608

Change-Id: Ie5edd1c70609991c28216bbc3a0ffcafd0f815ab
Reviewed-on: http://git-master/r/68044
Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com>
Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

Rebase-Id: R28cdb9f2a7d70f61a8dc643ddf250cd428b7a063
sound/soc/codecs/tlv320aic326x.c
sound/soc/codecs/tlv320aic326x.h
sound/soc/tegra/tegra_aic326x.c
sound/soc/tegra/tegra_wm8753.c