usb: otg: tegra: mask interrupt status value
authorRakesh Bodla <rbodla@nvidia.com>
Wed, 3 Apr 2013 12:19:03 +0000 (17:19 +0530)
committerMrutyunjay Sawant <msawant@nvidia.com>
Fri, 5 Apr 2013 09:33:27 +0000 (02:33 -0700)
commit8cf73997e720645a2d1c7eadafc3970fcb540873
treea0335788331bcd13d0fd1490391f1b1fde3b395f
parent3d96c55d47de21cfd35217cb950000bcfbfceb4b
usb: otg: tegra: mask interrupt status value

ID and VBUS detection can happen through different ways.
Masking the interrupt status based on type of interrupts
enabled in USB controller for correct interrupt status.

Bug 1227226

Change-Id: Ibd5acfacabf78681ff54dcc721879f2935b5f836
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/216129
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
drivers/usb/otg/tegra-otg.c