net: phy: meson-gxl: check phy_write return value
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 18 Dec 2017 09:44:40 +0000 (10:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 24 Mar 2018 10:01:24 +0000 (11:01 +0100)
commit1b485793ce84093d6a1adb060e61d45b7bb61639
tree35020bad417b98de8a5f354de14cc4653ea2d8be
parentea60e54b22aa9cba7efcc27dfc2e8319d10326de
net: phy: meson-gxl: check phy_write return value

[ Upstream commit 9042b46eda33ef5db3cdfc9e12b3c8cabb196141 ]

Always check phy_write return values. Better to be safe than sorry

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/phy/meson-gxl.c