All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/6] ASoC: tegra: assume CONFIG_OF in tegra_asoc_utils_init
@ 2013-02-16  0:07 Stephen Warren
       [not found] ` <1360973255-344-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Stephen Warren @ 2013-02-16  0:07 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown
  Cc: alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA, Stephen Warren

From: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

Tegra only supports, and always enables, device tree. Remove all runtime
checks for DT support from the driver.

Signed-off-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
 sound/soc/tegra/tegra_asoc_utils.c |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/sound/soc/tegra/tegra_asoc_utils.c b/sound/soc/tegra/tegra_asoc_utils.c
index ba419f8..49861c6 100644
--- a/sound/soc/tegra/tegra_asoc_utils.c
+++ b/sound/soc/tegra/tegra_asoc_utils.c
@@ -176,11 +176,7 @@ int tegra_asoc_utils_init(struct tegra_asoc_utils_data *data,
 		data->soc = TEGRA_ASOC_UTILS_SOC_TEGRA20;
 	else if (of_machine_is_compatible("nvidia,tegra30"))
 		data->soc = TEGRA_ASOC_UTILS_SOC_TEGRA30;
-	else if (!dev->of_node)
-		/* non-DT is always Tegra20 */
-		data->soc = TEGRA_ASOC_UTILS_SOC_TEGRA20;
 	else
-		/* DT boot, but unknown SoC */
 		return -EINVAL;
 
 	data->clk_pll_a = clk_get_sys(NULL, "pll_a");
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-02-20 17:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-16  0:07 [PATCH 1/6] ASoC: tegra: assume CONFIG_OF in tegra_asoc_utils_init Stephen Warren
     [not found] ` <1360973255-344-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-02-16  0:07   ` [PATCH 2/6] ASoC: tegra_wm8753: minor cleanup Stephen Warren
2013-02-16  0:07   ` [PATCH 3/6] ASoC: tegra_wm9712: assume CONFIG_OF Stephen Warren
     [not found]     ` <1360973255-344-3-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-02-18 17:11       ` Lucas Stach
2013-02-16  0:07   ` [PATCH 4/6] ASoC: tegra_alc5632: assume CONFIG_OF, and other cleanup Stephen Warren
     [not found]     ` <1360973255-344-4-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-02-16 14:24       ` Leon Romanovsky
2013-02-16  0:07   ` [PATCH 5/6] ASoC: tegra trimslice: " Stephen Warren
2013-02-16  0:07   ` [PATCH 6/6] ASoC: tegra_wm8903: assume CONFIG_OF, remove platform data Stephen Warren
2013-02-20 17:25   ` [PATCH 1/6] ASoC: tegra: assume CONFIG_OF in tegra_asoc_utils_init Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.