Merge tag 'for-v3.4-rc1' of git://git.infradead.org/battery-2.6
[~shefty/rdma-dev.git] / drivers / power / isp1704_charger.c
index 1289a5f790a12143a837c1ddcefd6a713610bcd6..39eb50f35f09fd777445a53202fb30823d9f9438 100644 (file)
@@ -480,6 +480,7 @@ fail0:
 
        dev_err(&pdev->dev, "failed to register isp1704 with error %d\n", ret);
 
+       isp1704_charger_set_power(isp, 0);
        return ret;
 }