asoc: tegra: Rt5640: modify DAPM route table
authorVijay Mali <vmali@nvidia.com>
Mon, 5 Nov 2012 14:45:04 +0000 (19:45 +0530)
committerSimone Willett <swillett@nvidia.com>
Wed, 7 Nov 2012 02:28:23 +0000 (18:28 -0800)
commitced821b8d07e6d6453b1bc6c6c01301b3472000c
tree1a3b767674f0d3d8120fd85d009007db7ea0e43b
parentf7326d7d486720fb41891736a1a75700c70adeea
asoc: tegra: Rt5640: modify DAPM route table

a) register DAPM route table with snd_soc_card structure and
remove the open-coded DAPM add route calls.

b) set card.fully_routed flag to request the ASoC core calculated
unused codec pins, and call snd_soc_dapm_nc_pin() for them.

Bug 1054060

Change-Id: I512b6329bf1328eff172f40d4cc6b59c763f1323
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/161249
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Dara Ramesh <dramesh@nvidia.com>
sound/soc/tegra/tegra_rt5640.c