Unverified Commit c7b92172 authored by Stefan Potyra's avatar Stefan Potyra Committed by Mark Brown
Browse files

ASoC: rockchip: disable clock on error

Disable the clocks in  rk_spdif_probe when an error occurs after one
of the clocks has been enabled previously.

Found by Linux Driver Verification project (linuxtesting.org).

Fixes: f874b80e

 ASoC: rockchip: Add rockchip SPDIF transceiver driver
Signed-off-by: default avatarStefan Potyra <Stefan.Potyra@elektrobit.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 4fbd8d19
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment