Skip to content
Snippets Groups Projects
Commit 20be8d4b authored by Mingwei Zheng's avatar Mingwei Zheng Committed by Greg Kroah-Hartman
Browse files

net: rfkill: gpio: Add check for clk_enable()


[ Upstream commit 8251e7621b25ccdb689f1dd9553b8789e3745ea1 ]

Add check for the return value of clk_enable() to catch the potential
error.

Fixes: 7176ba23 ("net: rfkill: add generic gpio rfkill driver")
Signed-off-by: default avatarMingwei Zheng <zmw12306@gmail.com>
Signed-off-by: default avatarJiasheng Jiang <jiashengjiangcool@gmail.com>
Link: https://patch.msgid.link/20241108195341.1853080-1-zmw12306@gmail.com


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 34a949e7
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment