devices/r8169-2.6.35-ethercat.c
branchstable-1.5
changeset 2582 87e502828b3f
parent 2280 0d8a043a6adb
equal deleted inserted replaced
2581:d94281cb835a 2582:87e502828b3f
  3244 		pm_runtime_set_active(&pdev->dev);
  3244 		pm_runtime_set_active(&pdev->dev);
  3245 		pm_runtime_enable(&pdev->dev);
  3245 		pm_runtime_enable(&pdev->dev);
  3246 	}
  3246 	}
  3247 	pm_runtime_idle(&pdev->dev);
  3247 	pm_runtime_idle(&pdev->dev);
  3248 
  3248 
  3249 	if (tp->ecdev && ecdev_open(tp->ecdev)) {
  3249 	if (tp->ecdev) {
  3250 		ecdev_withdraw(tp->ecdev);
  3250 		rc = ecdev_open(tp->ecdev);
  3251 		goto err_out_msi_4;
  3251 		if (rc) {
       
  3252 			ecdev_withdraw(tp->ecdev);
       
  3253 			goto err_out_msi_4;
       
  3254 		}
  3252 	}
  3255 	}
  3253 
  3256 
  3254 out:
  3257 out:
  3255 	return rc;
  3258 	return rc;
  3256 
  3259