Ignore:
Timestamp:
2012-01-21T23:44:09+01:00 (4 years ago)
Author:
juhosg
Message:

generic: rtl8366: add rtl8366_smi_write_reg_noack helper

After issuing a soft reset on the RT8366{S,RB}
switch, waiting for the last acknowlegement fails
in rtl8366_smi_write_reg. Add a _noack version of
the function and use that for issuing a soft reset.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/generic/files/drivers/net/phy/rtl8366s.c

    r29677 r29844  
    230230        u32 data; 
    231231 
    232         rtl8366_smi_write_reg(smi, RTL8366S_RESET_CTRL_REG, 
    233                               RTL8366S_CHIP_CTRL_RESET_HW); 
     232        rtl8366_smi_write_reg_noack(smi, RTL8366S_RESET_CTRL_REG, 
     233                                    RTL8366S_CHIP_CTRL_RESET_HW); 
    234234        do { 
    235235                msleep(1); 
Note: See TracChangeset for help on using the changeset viewer.