diff options
author | Marco Felsch | 2021-01-11 09:59:32 +0100 |
---|---|---|
committer | Jakub Kicinski | 2021-01-12 18:39:19 -0800 |
commit | a18caa97b1bda0a3d126a7be165ddcfc56c2dde6 (patch) | |
tree | 8004a7969211cb686d0dba81095a8647525b922b /net/dsa | |
parent | df85bc140a4d6cbaa78d8e9c35154e1a2f0622c7 (diff) |
net: phy: smsc: fix clk error handling
Commit bedd8d78aba3 ("net: phy: smsc: LAN8710/20: add phy refclk in
support") added the phy clk support. The commit already checks if
clk_get_optional() throw an error but instead of returning the error it
ignores it.
Fixes: bedd8d78aba3 ("net: phy: smsc: LAN8710/20: add phy refclk in support")
Suggested-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20210111085932.28680-1-m.felsch@pengutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions