ASoC: Tegra wm8903 machine: Remove regulator error message
authorPreetham Chandru <pchandru@nvidia.com>
Mon, 26 Mar 2012 15:08:55 +0000 (20:08 +0530)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Fri, 30 Mar 2012 15:08:39 +0000 (08:08 -0700)
commita55e86c26f4096aa7897455bf9e3146ab52f7036
treeee3e7de77005207f2ce452fc5fe7b3857c54db9e
parent112483d7c23a7c0c679e0dc8225201bb059c6c7c
ASoC: Tegra wm8903 machine: Remove regulator error message

Few boards which uses wm8903 has independent regulators
for spk and mic while others do not have it.
For the boards which do not have independent regulators
we should avoid getting their regulators otherwise we
would get the following error messages:
"tegra-snd-wm8903 tegra-snd-wm8903.0: No speaker regulator found"
"tegra-snd-wm8903 tegra-snd-wm8903.0: No digital mic regulator found"

Bug 956562
Signed-off-by: Preetham Chandru <pchandru@nvidia.com>
Change-Id: Ide1ce141b5d45d56e834dc82a7cf5a7adc6c3e80
Reviewed-on: http://git-master/r/91548
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
sound/soc/tegra/tegra_wm8903.c