Commit ee97e24a authored by Vaibhav Hiremath's avatar Vaibhav Hiremath Committed by Greg Kroah-Hartman
Browse files

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: default avatarVaibhav Hiremath <vaibhav.hiremath@linaro.org>
Reviewed-by: default avatarMichael Scott <michael.scott@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 4a7908cb
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -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;
}