Re: [PATCH -next v2 2/2] smsc911x: Ignore error return from device_get_phy_mode()

2015-08-26 Thread Tony Lindgren
* Guenter Roeck [150826 13:24]: > Commit 62ee783bf1f8 ("smsc911x: Fix crash seen if neither ACPI nor OF is > configured or used") introduces an error check for the return value from > device_get_phy_mode() and bails out if there is an error. Unfortunately, > there are configurations where no phy i

[PATCH -next v2 2/2] smsc911x: Ignore error return from device_get_phy_mode()

2015-08-26 Thread Guenter Roeck
Commit 62ee783bf1f8 ("smsc911x: Fix crash seen if neither ACPI nor OF is configured or used") introduces an error check for the return value from device_get_phy_mode() and bails out if there is an error. Unfortunately, there are configurations where no phy is configured. Those configurations now fa