net: fec_imx: Return with an error when mandatory clock is missing
When a mandatory clock is missing we have to return with an error. Just
breaking out of the loop results in ignoring the error.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 7eb43ad commit 5400f01d1f32e60e0ce1b4679419203f7b4e0008
@Sascha Hauer Sascha Hauer authored on 27 Apr 2020
Showing 1 changed file
View
drivers/net/fec_imx.c