diff options
author | Codrin Ciubotariu <codrin.ciubotariu@microchip.com> | 2019-08-20 19:24:09 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-08-20 18:36:32 +0100 |
commit | 988b59467b2b14523a266957affbe9eca3e99fc9 (patch) | |
tree | b74616bb49af5f50146d33070ce2be12bad048b8 /drivers/leds/leds-lp8788.c | |
parent | bf283a05c09b58db83afbb1a8a3c6a684c56c1bb (diff) |
ASoC: mchp-i2s-mcc: Fix unprepare of GCLK
If hw_free() gets called after hw_params(), GCLK remains prepared,
preventing further use of it. This patch fixes this by unpreparing the
clock in hw_free() or if hw_params() gets an error.
Fixes: 7e0cdf545a55 ("ASoC: mchp-i2s-mcc: add driver for I2SC Multi-Channel Controller")
Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Link: https://lore.kernel.org/r/20190820162411.24836-2-codrin.ciubotariu@microchip.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/leds/leds-lp8788.c')
0 files changed, 0 insertions, 0 deletions