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