summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/tegra_soc.h
diff options
context:
space:
mode:
authorManjula Gupta <magupta@nvidia.com>2011-04-06 15:59:11 +0530
committerVarun Colbert <vcolbert@nvidia.com>2011-04-11 11:11:27 -0700
commitaa6214d5c4f9e0e2aea9a3f923255bda29c2f447 (patch)
treece3eaa3b269ce694bde1350a64f6a341215da650 /sound/soc/tegra/tegra_soc.h
parentf994ecd2aef906490a935edc9711d51ab49209ec (diff)
ASOC: tegra: Restore jack switch state after Suspendtegra-10.11.7
Adds a function to restore jack state after suspend, it will notify the upper layer about the current states of the jack after suspend. In suspend state the notifier function doesn't get triggered, leaving the system in an unknown state. This function will be called on resume after suspend. Fix for Bug: 804328 Change-Id: I89ab32a6d775904fb1a71725d4e1fbda89002431 Reviewed-on: http://git-master/r/26853 Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Tested-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Boris Suvorov <bsuvorov@nvidia.com> Tested-by: Boris Suvorov <bsuvorov@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'sound/soc/tegra/tegra_soc.h')
-rw-r--r--sound/soc/tegra/tegra_soc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/tegra/tegra_soc.h b/sound/soc/tegra/tegra_soc.h
index 817aed035d89..8dd2efaa6d13 100644
--- a/sound/soc/tegra/tegra_soc.h
+++ b/sound/soc/tegra/tegra_soc.h
@@ -118,6 +118,7 @@ void tegra_controls_exit(void);
int tegra_jack_init(struct snd_soc_codec *codec);
void tegra_jack_exit(void);
+void tegra_jack_resume(void);
void tegra_switch_set_state(int state);
void setup_i2s_dma_request(struct snd_pcm_substream *substream,