summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorShawn Lin <shawn.lin@rock-chips.com>2018-03-21 10:39:20 +0800
committerHeiko Stuebner <heiko@sntech.de>2018-03-23 09:08:43 +0100
commit0d92d1802ced45dab0cbb1d130ace7410bcaec99 (patch)
tree38beed4e362decabef0efa0934fe91a3a34dd23c /Makefile
parent570fda972b3178f9a981d1b7ac18e05245a52eab (diff)
downloadlinux-0d92d1802ced45dab0cbb1d130ace7410bcaec99.tar.bz2
clk: rockchip: Fix error return in phase clock registration
The newly added clock notifier may return an error code but so far the error output in the function would only return an error pointer from registering the clock. So when the clock notifier fails the clock would be unregistered but the return would still be the clock pointer which could then not be dereferenced correctly. So fix the error handling to prevent that. Fixes: 60cf09e45fbc ("clk: rockchip: Restore the clock phase after the rate was changed") Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions