Commit e410553f authored by Joakim Tjernlund's avatar Joakim Tjernlund Committed by Jeff Garzik

ucc_geth: Don't use RX clock as TX clock.

Commit 9fb1e350,
ucc_geth: use rx-clock-name and tx-clock-name device tree properties
Introduced a typo that made the driver use the RX clock
as TX clock, causing massive TX errors.
Signed-off-by: default avatarJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 1b3aa7af
...@@ -3922,7 +3922,7 @@ static int ucc_geth_probe(struct of_device* ofdev, const struct of_device_id *ma ...@@ -3922,7 +3922,7 @@ static int ucc_geth_probe(struct of_device* ofdev, const struct of_device_id *ma
return -EINVAL; return -EINVAL;
} }
} else { } else {
prop = of_get_property(np, "rx-clock", NULL); prop = of_get_property(np, "tx-clock", NULL);
if (!prop) { if (!prop) {
printk(KERN_ERR printk(KERN_ERR
"ucc_geth: mising tx-clock-name property\n"); "ucc_geth: mising tx-clock-name property\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment