Skip to content

Commit

Permalink
ASoC: tegra: Expose Headphones pin to userspace
Browse files Browse the repository at this point in the history
So userspace can enable or disable it based on the current policy.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Tomeu Vizoso authored and Mark Brown committed Mar 2, 2015
1 parent c517d83 commit a0cf43e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/soc/tegra/tegra_max98090.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ static const struct snd_soc_dapm_widget tegra_max98090_dapm_widgets[] = {
};

static const struct snd_kcontrol_new tegra_max98090_controls[] = {
SOC_DAPM_PIN_SWITCH("Headphones"),
SOC_DAPM_PIN_SWITCH("Speakers"),
};

Expand Down

0 comments on commit a0cf43e

Please sign in to comment.