]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: dp83869: Fix return paths to return proper values
authorDan Murphy <dmurphy@ti.com>
Tue, 26 Nov 2019 14:38:56 +0000 (08:38 -0600)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Nov 2019 22:42:55 +0000 (14:42 -0800)
commitbee13aee1149296d039e97b43658c921ad126b77
treea0fc9202aab91babf2fe4af61bcbd23eb5c012f4
parentdbd9485dc47a54911f778d8ce25dad9f62ce6ffd
net: phy: dp83869: Fix return paths to return proper values

Fix the return paths for all I/O operations to ensure
that the I/O completed successfully.  Then pass the return
to the caller for further processing

Fixes: bf83518ffe90 ("net: phy: dp83869: Add TI dp83869 phy")
Reported-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/dp83869.c