]> 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)
commitc05fda0c6bf44a313fdbc35e4036884c8f966e8c
treea9b579fc814013973527536a7181fda14a9ab9e7
parentc90f72e368af704fc25e9c5b5fed85bf6cda4b6a
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