ASoC: rt5665: set i2s pin share configuration
authorBard Liao <bardliao@realtek.com>
Thu, 16 Mar 2017 05:58:41 +0000 (13:58 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 16 Mar 2017 14:08:04 +0000 (14:08 +0000)
commit9b5d3865b3b410d21213807642b47e84a3fc081b
treea9b579fc814013973527536a7181fda14a9ab9e7
parent28d2ca39be43fab0caee2f13d818504e9e802ef7
ASoC: rt5665: set i2s pin share configuration

I2S2 and I2S3 are share pins. We need to configure it when i2s is
active and disable it when i2s is inactive. To disable i2s pins
means to set them as gpio.

Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5665.c