partly revert r30708, it breaks various arches
[openwrt/staging/yousong.git] / target / linux / generic / files / drivers / net / phy / rtl8366_smi.c
index e48ca99ce84dd27b1f8e5d3362237e6562894486..c89e5a93b69ffa4264c654f1f5ede95957a30c82 100644 (file)
@@ -144,6 +144,7 @@ static int rtl8366_smi_wait_for_ack(struct rtl8366_smi *smi)
 
                if (++retry_cnt > RTL8366_SMI_ACK_RETRY_COUNT) {
                        dev_err(smi->parent, "ACK timeout\n");
+                       dump_stack();
                        return -ETIMEDOUT;
                }
        } while (1);