]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ASoC: da7219: Improve error checking of mclk enable/disable
authorAdam Thomson <Adam.Thomson.Opensource@diasemi.com>
Wed, 7 Oct 2015 10:57:14 +0000 (11:57 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 7 Oct 2015 11:15:22 +0000 (12:15 +0100)
commitba856fbd602175d386ab5a4fc0fdd89b912546cb
treeb8df2caf3e8b7487101a6ceab3b07f90eedecb1b
parentb7ebd78d1d142e4e47c3547b08faf51218384583
ASoC: da7219: Improve error checking of mclk enable/disable

Should only try to enable/disable the provided mclk, during bias
level changes, if it's not NULL. Also return value of
clk_prepare_enable() should be checked and dealt with accordingly.

Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/da7219.c