Le 12/09/2023 à 13:35, Vladimir Oltean a écrit :
On Tue, Sep 12, 2023 at 06:54:59AM +0200, Oleksij Rempel wrote:
Add device tree based drive strength configuration support. It is needed to
pass EMI validation on our hardware.
Configuration values are based on the vendor's reference driver.
Tested on KSZ9563R.
Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>
Reviewed-by: Andrew Lunn <andrew@xxxxxxx>
---
+ if (!found)
+ return 0;
Maybe "have_any_prop" would be a better name to avoid Christophe's confusion?
Not sure it worth it.
Christophe should learn to read code or avoid some quick feed-back
before morning coffee :)
'found' looks good enough.
CJ