Changeset 35534


Ignore:
Timestamp:
2013-02-10T13:31:36+01:00 (5 years ago)
Author:
jogo
Message:

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@…>
Signed-off-by: Rafał Miłecki <zajec5@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.