Commit ee1a4d4b7fcfce31dade9f2ad333b34159cee799

Authored by Stephen Warren
Committed by Mark Brown
1 parent 250b68512d

ASoC: Tegra: wm8903 machine driver: Drop Ventana support

Board file support for Ventana is not yet mainlined, and probably won't
ever be given the move to Device-Tree. Consequently, the Ventana entry
is being removed from arch/arm/tools/mach-types in the next merge window,
since it was registered over a year ago.

This will also remove function machine_is_ventana(), which is used by
the ASoC Tegra WM8903 machine driver. This will cause compilation
failures. Drop Ventana support to resolve this.

Hopefully, in the not-too-distant future, tegra_wm8903.c will be able to
configure itself from Device-Tree, and hence we'll be able to re-instate
Ventana support just by creating a .dts file for the board.

Also note that Aebl support is in a similar boat. However, that board
isn't scheduled for deprecation for at least another 5 months, and
perhaps we will have completely removed non-Device-Tree support from
tegra_wm8903.c by then and/or adjusted mach-types policy.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

sound/soc/tegra/tegra_wm8903.c
... ... @@ -319,7 +319,7 @@
319 319 snd_soc_dapm_force_enable_pin(dapm, "Mic Bias");
320 320  
321 321 /* FIXME: Calculate automatically based on DAPM routes? */
322   - if (!machine_is_harmony() && !machine_is_ventana())
  322 + if (!machine_is_harmony())
323 323 snd_soc_dapm_nc_pin(dapm, "IN1L");
324 324 if (!machine_is_seaboard() && !machine_is_aebl())
325 325 snd_soc_dapm_nc_pin(dapm, "IN1R");
... ... @@ -395,7 +395,7 @@
395 395 platform_set_drvdata(pdev, card);
396 396 snd_soc_card_set_drvdata(card, machine);
397 397  
398   - if (machine_is_harmony() || machine_is_ventana()) {
  398 + if (machine_is_harmony()) {
399 399 card->dapm_routes = harmony_audio_map;
400 400 card->num_dapm_routes = ARRAY_SIZE(harmony_audio_map);
401 401 } else if (machine_is_seaboard()) {