commit | 1f6d640cad6e5885e175ed359b87f615a3448e8f | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Thu May 18 15:55:13 2017 +0000 |
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | Wed Jun 07 15:32:14 2017 +0200 |
tree | 1114b60de7c61b3de19ebac60084a292293c8997 | |
parent | 0adad031ef5d0d89ee92d92964d3799685ea2387 [diff] |
clk: sunxi-ng: de2: fix wrong pointer passed to PTR_ERR() PTR_ERR should access the value just tested by IS_ERR, otherwise the wrong error code will be returned. Fixes: b0d9a4bd52bd ("clk: sunxi-ng: add support for DE2 CCU") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>