Codrin Ciubotariu 3b7961a326
ASoC: atmel-i2s: Fix usage of capture and playback at the same time
For both capture and playback streams to work at the same time, only the
needed values from a register need to be updated. Also, clocks should be
enabled only when the first stream is started and stopped when there is no
running stream.

Fixes: b543e467d1a9 ("ASoC: atmel-i2s: add driver for the new Atmel I2S controller")
Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Link: https://lore.kernel.org/r/20210618150741.401739-2-codrin.ciubotariu@microchip.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-06-21 13:00:48 +01:00
..
2021-06-09 11:52:35 +01:00
2021-06-09 11:52:35 +01:00
2021-03-31 18:03:19 +01:00
2021-04-14 15:24:14 +01:00
2021-06-09 11:52:35 +01:00
2021-04-30 12:48:14 -07:00
2021-03-10 13:08:46 +00:00