ASoC: nau8822: support master mode
authorDavid Lin <CTLIN0@nuvoton.com>
Mon, 10 Jun 2019 03:05:23 +0000 (11:05 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 12 Jun 2019 12:52:26 +0000 (13:52 +0100)
commit2e927ad7981db6765a2a0e8694371e0154b6e820
treec5572f8e7612060e261a2b055fe867198729a963
parent960f428ca0a04a59e74639571126245a3efc4bcf
ASoC: nau8822: support master mode

The driver selects the proper BCLK divide through the BCLK and FS
at the hardware parameter when the I2S master mode.

Signed-off-by: David Lin <CTLIN0@nuvoton.com>
Signed-off-by: John Hsu <KCHSU0@nuvoton.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/nau8822.c
sound/soc/codecs/nau8822.h