usb: host: tegra: Fix for possible race condition in timer handler
authorvjagadish <vjagadish@nvidia.com>
Mon, 17 Oct 2011 08:44:58 +0000 (13:44 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:49:25 +0000 (21:49 -0800)
commit230b1f25e0616503ac5866729bbae19109305803
treedc8120165d1acb8fd5fbe077961f7a5d1d4a9121
parent3c252892a2a832b2a682110c7bcf10ba3411bba0
usb: host: tegra: Fix for possible race condition in timer handler

Acquire the spin lock before disabling the clock.

Bug 876433

Change-Id: Iddb39761cb85e5f4c45061f3b2753d7b0fa64944
Reviewed-on: http://git-master/r/58343
Reviewed-by: Venkata Jagadish <vjagadish@nvidia.com>
Tested-by: Venkata Jagadish <vjagadish@nvidia.com>
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

Rebase-Id: Rda16e8bd08be58b6a3304b8cc3a7520417b341d4
drivers/usb/host/ehci-tegra.c