Commit 2267d5a
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: Ma Ke <make_ruc2021@163.com>
Reviewed-by: Niklas Cassel <niklas.cassel@wdc.com>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>1 parent b8b8b4e commit 2267d5a
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4123 | 4123 | | |
4124 | 4124 | | |
4125 | 4125 | | |
4126 | | - | |
| 4126 | + | |
4127 | 4127 | | |
4128 | | - | |
4129 | | - | |
| 4128 | + | |
| 4129 | + | |
| 4130 | + | |
| 4131 | + | |
| 4132 | + | |
4130 | 4133 | | |
4131 | 4134 | | |
4132 | 4135 | | |
| |||
0 commit comments