greybus: arche-apb-ctrl: Remove extra delay in APB reset
authorVaibhav Hiremath <vaibhav.hiremath@linaro.org>
Wed, 24 Feb 2016 23:07:33 +0000 (04:37 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 26 Feb 2016 00:24:23 +0000 (16:24 -0800)
With synchronization between SVC <=> AP over wake/detect line to
bring APB's out of reset, we do not need any extra delays now.
So remove it.

Testing Done: Tested for DB3.5 and EVT1.2 platform.

Signed-off-by: Vaibhav Hiremath <vaibhav.hiremath@linaro.org>
Reviewed-by: Michael Scott <michael.scott@linaro.org>
Tested-by: Michael Scott <michael.scott@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/arche-apb-ctrl.c

index c2f0776..55806bd 100644 (file)
@@ -50,7 +50,6 @@ struct arche_apb_ctrl_drvdata {
 static inline void deassert_reset(unsigned int gpio)
 {
        gpio_set_value(gpio, 1);
-       msleep(500);
 }
 
 static inline void assert_reset(unsigned int gpio)