|
@@ -198,8 +198,10 @@ static inline int wait_for_user_access(struct davinci_mdio_data *data)
|
|
|
return 0;
|
|
return 0;
|
|
|
|
|
|
|
|
reg = __raw_readl(®s->control);
|
|
reg = __raw_readl(®s->control);
|
|
|
- if ((reg & CONTROL_IDLE) == 0)
|
|
|
|
|
|
|
+ if ((reg & CONTROL_IDLE) == 0) {
|
|
|
|
|
+ usleep_range(100, 200);
|
|
|
continue;
|
|
continue;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
/*
|
|
/*
|
|
|
* An emac soft_reset may have clobbered the mdio controller's
|
|
* An emac soft_reset may have clobbered the mdio controller's
|