Commit 1275e922 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev
Browse files

fix hanging when no 10389 - was trying to init

parent 9c151ff6
Loading
Loading
Loading
Loading
+1 −6
Original line number Original line Diff line number Diff line
@@ -1322,14 +1322,9 @@ static int elphel393_pwr_probe(struct platform_device *pdev)
	 */
	 */
	pm_power_off = shutdown;
	pm_power_off = shutdown;


	/*
	if (base[2]!=NULL){
	if (base[2]!=NULL){
		//turn off PCA9571
		gpio_10389_ctrl(&pdev->dev, 0xf0f);
		gpio_10389_ctrl(&pdev->dev, 0xf00);
	}
	*/
		gpio_10389_initialize(pdev);
		gpio_10389_initialize(pdev);
	}


	return 0;
	return 0;
}	
}