tegra: host: usb: threadsafe variable update
authorSuresh Mangipudi <smangipudi@nvidia.com>
Thu, 11 Aug 2011 07:03:37 +0000 (12:03 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:48:15 +0000 (21:48 -0800)
commita846ee334c50bba6369cebb462c2c289bcae876b
treeb9a14d3cea81f3f650798d7c1cdaa36002294178
parent67b5edb32e6e1d5eeb0ae4556710572dd034b0c7
tegra: host: usb: threadsafe variable update

Make sure that the variables which are likely to be accessed by different
threads to be threadsafe. This fixes the issues related to clock,
which are being updated from different threads.

Bug 857667

Original-Change-Id: Id81c1c654b7c7889fcb213e0e00945614b6fca08
Reviewed-on: http://git-master/r/46591
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Tested-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-by: Ramachandrudu Kandhala <rkandhala@nvidia.com>

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