From: Vaibhav Hiremath Date: Tue, 16 Feb 2016 19:57:52 +0000 (+0530) Subject: greybus: arche-apb-ctrl: Do not coldboot APBs in probe X-Git-Tag: v4.9-rc1~119^2~378^2~21^2~677 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ee97e24ac63510c5836ac71ce88c9f61e265ee84;p=karo-tx-linux.git greybus: arche-apb-ctrl: Do not coldboot APBs in probe Since parent driver (SVC) is controlling APBs directly, we do not need to bringup APBs in its own probe. Testing Done: Tested on EVT1.2. Signed-off-by: Vaibhav Hiremath Reviewed-by: Michael Scott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/arche-apb-ctrl.c b/drivers/staging/greybus/arche-apb-ctrl.c index b888da376b21..3086306f04fb 100644 --- a/drivers/staging/greybus/arche-apb-ctrl.c +++ b/drivers/staging/greybus/arche-apb-ctrl.c @@ -387,15 +387,6 @@ int arche_apb_ctrl_probe(struct platform_device *pdev) return ret; } - ret = coldboot_seq(pdev); - if (ret) { - dev_err(dev, "failed to set init state of control signal %d\n", - ret); - device_remove_file(dev, &dev_attr_state); - platform_set_drvdata(pdev, NULL); - return ret; - } - dev_info(&pdev->dev, "Device registered successfully\n"); return 0; }