commit | 2ecb749e716620a300d3d74f40225aefd58f069e | [log] [tgz] |
---|---|---|
author | Haolin Li <li.haolin@qq.com> | Tue Mar 22 05:58:02 2022 -0700 |
committer | Kever Yang <kever.yang@rock-chips.com> | Mon Apr 18 11:25:12 2022 +0800 |
tree | 748c2fa73a7b3e7aef2dcb3a71cfaa65480b240a | |
parent | 7f8df40eb1673e1c8091a2e51c7b1f6e56ec0794 [diff] |
mmc: rockchip_sdhci: Correct error checking A pointer can not be negative. Use macro IS_ERR_OR_NULL() for checking. Signed-off-by: Haolin Li <li.haolin@qq.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Kever Yang <kever.yang@rock-chips.com> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>