]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
greybus: arche-apb-ctrl: Remove extra delay in APB reset
authorVaibhav Hiremath <vaibhav.hiremath@linaro.org>
Thu, 4 Feb 2016 19:40:56 +0000 (01:10 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Sat, 6 Feb 2016 00:23:22 +0000 (16:23 -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 10 iterations on EVT1

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

index f2bad8df0cf72354ab6690c18f08f778d6f44cc9..4e5ce37ea37e2ef49e010a7a3833c8249e88e8cd 100644 (file)
@@ -54,7 +54,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)