ARM: tegra: error check Tegra210 XUSB padctl waits
authorStephen Warren <swarren@nvidia.com>
Fri, 23 Oct 2015 16:50:53 +0000 (10:50 -0600)
committerTom Warren <twarren@nvidia.com>
Thu, 12 Nov 2015 16:21:07 +0000 (09:21 -0700)
commitf35cb12511f5e0fe608adfab38ed44a29e9578ab
treeab6dac6fbc13a9e522895d7fe1fbe6707e7eca41
parent4e4b5574fb2a0536f133a36f2fc96bd43ed92f14
ARM: tegra: error check Tegra210 XUSB padctl waits

Add code to detect timeouts when waiting for HW events such as PLL
lock done. Any errors are logged and trigger an error return code.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/mach-tegra/tegra210/xusb-padctl.c