diff options
author | Vaibhav Hiremath <vaibhav.hiremath@linaro.org> | 2015-12-16 16:29:20 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-12-22 17:40:43 -0800 |
commit | 166f0aed325f7bcb7c1ee8c2665d5cb05d36d931 (patch) | |
tree | 56d63d5c7d02ce18b8b75d03616cc47864dc474f /drivers/staging/greybus/arche-apb-ctrl.c | |
parent | 5a78178718b9e50ee60a1129431758125cfa2f6a (diff) | |
download | op-kernel-dev-166f0aed325f7bcb7c1ee8c2665d5cb05d36d931.zip op-kernel-dev-166f0aed325f7bcb7c1ee8c2665d5cb05d36d931.tar.gz |
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>
Diffstat (limited to 'drivers/staging/greybus/arche-apb-ctrl.c')
-rw-r--r-- | drivers/staging/greybus/arche-apb-ctrl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/greybus/arche-apb-ctrl.c b/drivers/staging/greybus/arche-apb-ctrl.c index efc1e42..68f8d3c 100644 --- a/drivers/staging/greybus/arche-apb-ctrl.c +++ b/drivers/staging/greybus/arche-apb-ctrl.c @@ -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; |