Commit 629e1580 authored by Martin Kepplinger's avatar Martin Kepplinger
Browse files

hi846: fix error path in resume()

parent eda75b28
......@@ -1225,6 +1225,7 @@ static int __maybe_unused hi846_resume(struct device *dev)
error:
hi846_stop_streaming(hi846);
hi846->streaming = 0;
clk_disable_unprepare(hi846->clock);
error_regulator:
hi846_regulator_disable(hi846);
......
Markdown is supported
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