summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorPurushothama Siddaiah <psiddaiah@mvista.com>2024-12-05 12:34:26 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-01-02 10:34:20 +0100
commit0aca51715e688c900cd59a6b1123b5951f695d93 (patch)
tree69097298950b1e4f0e2853f10b82dee19f4bb73e /scripts/patch-kernel
parentd00e75e4fecf1ecb542a61e090a913b30fe21442 (diff)
downloadlinux-0aca51715e688c900cd59a6b1123b5951f695d93.tar.gz
linux-0aca51715e688c900cd59a6b1123b5951f695d93.tar.bz2
linux-0aca51715e688c900cd59a6b1123b5951f695d93.zip
spi: omap2-mcspi: Fix the IS_ERR() bug for devm_clk_get_optional_enabled()
[ Upstream commit 4c6ac5446d060f0bf435ccc8bc3aa7b7b5f718ad ] 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 <psiddaiah@mvista.com> Reviewed-by: Corey Minyard <cminyard@mvista.com> Link: https://patch.msgid.link/20241205070426.1861048-1-psiddaiah@mvista.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions