From: Vaibhav Hiremath Date: Thu, 4 Feb 2016 19:40:56 +0000 (+0530) Subject: greybus: arche-apb-ctrl: Remove extra delay in APB reset X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6084653541ac5fb619c4338e6fa6a9d5d4a51713;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git greybus: arche-apb-ctrl: Remove extra delay in APB reset 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 Reviewed-by: Michael Scott 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 f2bad8df0cf7..4e5ce37ea37e 100644 --- a/drivers/staging/greybus/arche-apb-ctrl.c +++ b/drivers/staging/greybus/arche-apb-ctrl.c @@ -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)