1
0
Fork 0

greybus: arche-apb-ctrl: Assert reset to APB at the end of probe

Until we have proper handshake mechanism implemented with SVC
assert reset to APB at the end of probe.
We are safe here to do that, as SVC always enables clock to APB's
currently.
And also from EVT1 perspective, we should be good, as clock control
signals are now moved to AP.

Signed-off-by: Vaibhav Hiremath <vaibhav.hiremath@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
hifive-unleashed-5.1
Vaibhav Hiremath 2015-12-16 16:29:20 +05:30 committed by Greg Kroah-Hartman
parent 5a78178718
commit 166f0aed32
1 changed files with 2 additions and 0 deletions

View File

@ -325,6 +325,8 @@ static int arche_apb_ctrl_probe(struct platform_device *pdev)
platform_set_drvdata(pdev, apb);
assert_gpio(apb->resetn_gpio);
dev_info(&pdev->dev, "Device registered successfully\n");
return 0;