OSDN Git Service

ASoC: cs42l42: Set clock source for both ways of stream
authorLucas Tanure <tanureal@opensource.cirrus.com>
Sat, 6 Mar 2021 18:55:47 +0000 (18:55 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 10 Mar 2021 13:14:25 +0000 (13:14 +0000)
commit43fc357199f90c0e6ee7082fb0a989b0560be2d6
treede75dc0337b9c9c0d45c0f779823beafe050d26c
parent621d65f3b868611df62ae4dc4eb1a37b85e4e8c0
ASoC: cs42l42: Set clock source for both ways of stream

Move the enable/disable of clocks to cs42l42_mute_stream so the record
path also get clocks.

Signed-off-by: Lucas Tanure <tanureal@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20210306185553.62053-10-tanureal@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs42l42.c
sound/soc/codecs/cs42l42.h