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>
This commit is contained in:
Bard Liao
2014-11-18 16:50:18 +08:00
committed by Mark Brown
parent 471f208af9
commit 2d4e2d0205
3 changed files with 42 additions and 1 deletions

View File

@@ -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