From: Vaibhav Hiremath Date: Wed, 16 Dec 2015 10:59:20 +0000 (+0530) Subject: greybus: arche-apb-ctrl: Assert reset to APB at the end of probe X-Git-Tag: v4.9.8~1233^2~378^2~21^2~894 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=166f0aed325f7bcb7c1ee8c2665d5cb05d36d931;p=platform%2Fkernel%2Flinux-rpi3.git 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 --- 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;