Messages in this thread | | | From | Alexey Khoroshilov <> | Subject | media: tc358743: clk_disable_unprepare(refclk) missed | Date | Sat, 13 Jan 2018 01:35:03 +0300 |
| |
Hello,
tc358743_probe_of() enables refclk and disables it on its error paths. But there is no clk_disable_unprepare(refclk) in tc358743_remove() and on error paths in tc358743_probe(). Is it a problem?
If we should fix it, is adding struct clk *refclk; to tc358743_state the reasonable way to keep clk easily available?
Found by Linux Driver Verification project (linuxtesting.org).
-- Alexey Khoroshilov Linux Verification Center, ISPRAS web: http://linuxtesting.org
| |