asoc: tegra: max98088 machine: check for card instantiation
authorNikesh Oswal <noswal@nvidia.com>
Wed, 14 Mar 2012 12:16:24 +0000 (17:16 +0530)
committerSimone Willett <swillett@nvidia.com>
Fri, 23 Mar 2012 21:00:48 +0000 (14:00 -0700)
commit62e8fcd20e27244fcb532e0de9ef86bb66ae83b1
treea326bae52933e2b3d5606c7f49ae8e2269ede069
parentf6077df65f1f42d69a2e278076218ae66dfa436c
asoc: tegra: max98088 machine: check for card instantiation

If card fails to instantiate then unregister the card

Change-Id: Ibcc0d505a8df48c1f924a3d8688dc23e362d5e8d
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/90060
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
sound/soc/tegra/tegra_max98088.c