equal
deleted
inserted
replaced
1134 |
1134 |
1135 /* Put the chip into low-power mode. */ |
1135 /* Put the chip into low-power mode. */ |
1136 if (rtl_chip_info[tp->chipset].flags & HasHltClk) |
1136 if (rtl_chip_info[tp->chipset].flags & HasHltClk) |
1137 RTL_W8 (HltClk, 'H'); /* 'R' would leave the clock running. */ |
1137 RTL_W8 (HltClk, 'H'); /* 'R' would leave the clock running. */ |
1138 |
1138 |
1139 if (tp->ecdev && ecdev_open(tp->ecdev)) { |
1139 if (tp->ecdev) { |
1140 ecdev_withdraw(tp->ecdev); |
1140 i = ecdev_open(tp->ecdev); |
1141 goto err_out; |
1141 if (i) { |
|
1142 ecdev_withdraw(tp->ecdev); |
|
1143 goto err_out; |
|
1144 } |
1142 } |
1145 } |
1143 |
1146 |
1144 return 0; |
1147 return 0; |
1145 |
1148 |
1146 err_out: |
1149 err_out: |