]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
greybus: arche-platfrom: Get rid of 2sec delay in USB3613 configuration
authorVaibhav Hiremath <vaibhav.hiremath@linaro.org>
Tue, 12 Apr 2016 11:48:47 +0000 (17:18 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 13 Apr 2016 05:20:11 +0000 (22:20 -0700)
commita7ddda1f5aa47779071dd4c6f3a5e65c0086e49f
treeb2b4bd0adedddb35385b85136809cb8189805ea5
parentb4905038965fb986d8496e47cc52a08428408ae5
greybus: arche-platfrom: Get rid of 2sec delay in USB3613 configuration

Earlier during boot sequence implementation, we had seen race between
USb3613 and APB boot, and since APB boot time is ~2sec, we delayed
USb3613 configuration for 2sec after APB deassertion of reset.

This obviously won't work in the case of suspend/resume, where we would
like to put APB into OFF state and coldboot in resume.

With the latest FW changes, we do not see any race issue. I have done
regression testing (> 50 iteration of reboot + unipro link up and down)
without any issues.

So lets get rid of the 2sec delay with this patch.

Testing Done: Tested on EVT 1.5 platform.

Signed-off-by: Vaibhav Hiremath <vaibhav.hiremath@linaro.org>
Tested-by: David Lin <dtwlin@google.com>
Reviewed-by: David Lin <dtwlin@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/arche-platform.c