Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2993c1f9 authored by Codrin Ciubotariu's avatar Codrin Ciubotariu Committed by Greg Kroah-Hartman
Browse files

ASoC: atmel-i2s: Fix usage of capture and playback at the same time



[ Upstream commit 3b7961a326f8a7e03f54a19f02fedae8d488b80f ]

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: b543e467 ("ASoC: atmel-i2s: add driver for the new Atmel I2S controller")
Signed-off-by: default avatarCodrin Ciubotariu <codrin.ciubotariu@microchip.com>
Link: https://lore.kernel.org/r/20210618150741.401739-2-codrin.ciubotariu@microchip.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 0e0ee2ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment