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