generic: ar8216: use bus->mdio_lock directly in ar8216_mii_{read,write}
[openwrt.git] / target / linux / generic / files / drivers / net / phy / rtl8366s.c
index 27e9aa4..4300872 100644 (file)
@@ -229,8 +229,8 @@ static int rtl8366s_reset_chip(struct rtl8366_smi *smi)
        int timeout = 10;
        u32 data;
 
-       rtl8366_smi_write_reg(smi, RTL8366S_RESET_CTRL_REG,
-                             RTL8366S_CHIP_CTRL_RESET_HW);
+       rtl8366_smi_write_reg_noack(smi, RTL8366S_RESET_CTRL_REG,
+                                   RTL8366S_CHIP_CTRL_RESET_HW);
        do {
                msleep(1);
                if (rtl8366_smi_read_reg(smi, RTL8366S_RESET_CTRL_REG, &data))
This page took 0.018984 seconds and 4 git commands to generate.