diff options
author | Stefan Potyra <Stefan.Potyra@elektrobit.com> | 2017-12-06 16:03:24 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-02-25 11:05:48 +0100 |
commit | f99ff84b3654ab5fda483fee9a2b3d28ac8307b6 (patch) | |
tree | cad33a649bfec0f87e1ad41f235b8600a1cae2d1 /drivers/spi | |
parent | 82acb5fc22ece01395dc01e51159c4544bb75297 (diff) |
ASoC: rockchip: disable clock on error
[ Upstream commit c7b92172a61b91936be985cb9bc499a4ebc6489b ]
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: f874b80e1571 ASoC: rockchip: Add rockchip SPDIF transceiver driver
Signed-off-by: Stefan Potyra <Stefan.Potyra@elektrobit.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions