diff options
author | Hubert Chaumette <hchaumette@adeneo-embedded.com> | 2014-04-22 15:01:04 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-04-23 14:58:58 -0400 |
commit | 6a1197457f9ec085871d2f842e1bbbe9d13216da (patch) | |
tree | 299f154b255bfc8d178e158a2db6a95137d80a91 /MAINTAINERS | |
parent | 6a51b5e4d59e00051e65e836520912cd7c717be1 (diff) | |
download | op-kernel-dev-6a1197457f9ec085871d2f842e1bbbe9d13216da.zip op-kernel-dev-6a1197457f9ec085871d2f842e1bbbe9d13216da.tar.gz |
net/phy: micrel: fix bugged test on device tree loading for ksz9021
In ksz9021_load_values_from_of() val2 to val4 aren't tested against their
initialization value.
This causes the test to always succeed, and this value to be used as if it
was loaded from the devicetree instead of being ignored, in case of a
missing/invalid property in the ethernet OF device node.
As a result, the value "0" is written to the relevant registers.
Change the conditions to test against the right initialization value.
Signed-off-by: Hubert Chaumette <hchaumette@adeneo-embedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions