Skip to content
Commit 63f6a1a4 authored by 倪琛's avatar 倪琛 Committed by Greg Kroah-Hartman
Browse files

ata: sata_gemini: Check clk_enable() result

[ Upstream commit e85006ae

 ]

The call to clk_enable() in gemini_sata_start_bridge() can fail.
Add a check to detect such failure.

Signed-off-by: default avatarChen Ni <nichen@iscas.ac.cn>
Signed-off-by: default avatarDamien Le Moal <dlemoal@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent c0edb679
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment