summaryrefslogtreecommitdiffstats
path: root/include/sound/rt5645.h
diff options
context:
space:
mode:
authorBard Liao <bardliao@realtek.com>2014-11-18 09:50:18 +0100
committerMark Brown <broonie@kernel.org>2014-11-25 13:09:48 +0100
commit2d4e2d020516632288e8c8d1f8be2f3042d6b8de (patch)
tree03c53e6f15db3d4f3b6027f4d1f23213ac209ffe /include/sound/rt5645.h
parentASoC: rt5645: two jacks for hp and mic (diff)
downloadlinux-2d4e2d020516632288e8c8d1f8be2f3042d6b8de.tar.xz
linux-2d4e2d020516632288e8c8d1f8be2f3042d6b8de.zip
ASoC: rt5645: multiple JD mode support
There are 3 JD modes in RT5645. This patch configure register values according to platform data. Signed-off-by: Bard Liao <bardliao@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/rt5645.h')
-rw-r--r--include/sound/rt5645.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/rt5645.h b/include/sound/rt5645.h
index 937f421bc66b..120d9610054e 100644
--- a/include/sound/rt5645.h
+++ b/include/sound/rt5645.h
@@ -26,6 +26,7 @@ struct rt5645_platform_data {
/* true if codec's jd function is used */
bool en_jd_func;
+ unsigned int jd_mode;
};
#endif