diff options
author | Purushothama Siddaiah <[email protected]> | 2024-12-05 12:34:26 +0530 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-12-05 11:32:26 +0000 |
commit | 4c6ac5446d060f0bf435ccc8bc3aa7b7b5f718ad (patch) | |
tree | 1a55bfa84ca86c358b3cec45b4e4c29b84fac00c /drivers/reset/reset-ti-sci.c | |
parent | ceb259e43bf572ba7d766e1679ba73861d16203a (diff) |
spi: omap2-mcspi: Fix the IS_ERR() bug for devm_clk_get_optional_enabled()
The devm_clk_get_optional_enabled() function returns error
pointers(PTR_ERR()). So use IS_ERR() to check it.
Verified on K3-J7200 EVM board, without clock node mentioned
in the device tree.
Signed-off-by: Purushothama Siddaiah <[email protected]>
Reviewed-by: Corey Minyard <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/reset/reset-ti-sci.c')
0 files changed, 0 insertions, 0 deletions