diff options
author | 2022-12-31 13:58:48 +0400 | |
---|---|---|
committer | 2023-01-02 21:16:05 +0800 | |
commit | 490748874ebf1875420fc29b335bba2075dd1b5e (patch) | |
tree | ad508b2cab124798e8c040f1e4617da24259f022 /scripts/lib/kdoc/kdoc_files.py | |
parent | arm64: dts: imx8mm-venice-gw7901: fix USB2 controller OC polarity (diff) | |
download | wireguard-linux-490748874ebf1875420fc29b335bba2075dd1b5e.tar.xz wireguard-linux-490748874ebf1875420fc29b335bba2075dd1b5e.zip |
soc: imx8m: Fix incorrect check for of_clk_get_by_name()
of_clk_get_by_name() returns error pointers instead of NULL.
Use IS_ERR() checks the return value to catch errors.
Fixes: 836fb30949d9 ("soc: imx8m: Enable OCOTP clock before reading the register")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions