]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf33d51e612c1bb557b31c45d1e01db10a3b3d2e9
treea9b579fc814013973527536a7181fda14a9ab9e7
parent063fd7d85bd7d890345c79fcee975744cfcec304
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