From 166f0aed325f7bcb7c1ee8c2665d5cb05d36d931 Mon Sep 17 00:00:00 2001 From: Vaibhav Hiremath Date: Wed, 16 Dec 2015 16:29:20 +0530 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/arche-apb-ctrl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/greybus/arche-apb-ctrl.c b/drivers/staging/greybus/arche-apb-ctrl.c index efc1e42f8c61..68f8d3cc8e97 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; -- 2.20.1