Skip to content
Unverified Commit 8875d104 authored by Mark Brown's avatar Mark Brown
Browse files

ASoC: wm8731: Factor our MCLK and mutex initialisation



The code for initialising the MCLK and mutex is identical in the I2C and SPI
probe functions so just move this out into wm8731_init().

Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Acked-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220325153121.1598494-5-broonie@kernel.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 5f1b9d1e
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