Jonas Gorski eedc3554fe generic: b53: fix reverted error check in probe
b53_switch_detect returns value returned by b53_read8, which is 0 for
success. So fail (and return error) only if b53_switch_detect returned
something else than 0. This fixes supported and advertising being zeros
for MDIO access.

Cc: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 35534
2013-02-10 12:31:36 +00:00
..
2013-02-04 10:02:56 +00:00
2012-12-07 18:02:31 +00:00
2013-02-04 10:02:56 +00:00
2013-02-04 10:02:56 +00:00
2013-02-04 10:02:56 +00:00
2013-02-04 10:02:56 +00:00
2013-02-04 10:19:28 +00:00
2013-02-04 10:02:56 +00:00
2013-02-04 10:02:56 +00:00
2013-02-04 10:02:56 +00:00
2013-02-04 10:02:56 +00:00
2012-12-18 14:41:16 +00:00
2012-12-18 14:41:16 +00:00
2013-02-04 10:02:56 +00:00