diff options
author | Fahad Kunnathadi <[email protected]> | 2017-09-15 12:01:58 +0530 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-09-18 16:33:18 -0700 |
commit | f2654a4781318dc7ab8d6cde66f1fa39eab980a9 (patch) | |
tree | 33f494ace32d312982c077589809070e2ce4c4d5 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 76cc0d3282d4b933fa144fa41fbc5318e0fdca24 (diff) |
net: phy: Fix mask value write on gmii2rgmii converter speed register
To clear Speed Selection in MDIO control register(0x10),
ie, clear bits 6 and 13 to zero while keeping other bits same.
Before AND operation,The Mask value has to be perform with bitwise NOT
operation (ie, ~ operator)
This patch clears current speed selection before writing the
new speed settings to gmii2rgmii converter
Fixes: f411a6160bd4 ("net: phy: Add gmiitorgmii converter support")
Signed-off-by: Fahad Kunnathadi <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions