Skip to content
Commit 2267d5a1 authored by Ma Ke's avatar Ma Ke Committed by Damien Le Moal
Browse files

ata: sata_mv: aspeed: fix value check in mv_platform_probe()



In mv_platform_probe(), check the return value of clk_prepare_enable()
and return the error code if clk_prepare_enable() returns an
unexpected value.

Signed-off-by: default avatarMa Ke <make_ruc2021@163.com>
Reviewed-by: default avatarNiklas Cassel <niklas.cassel@wdc.com>
Signed-off-by: default avatarDamien Le Moal <dlemoal@kernel.org>
parent b8b8b4e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment