diff options
author | Rakesh Bodla <rbodla@nvidia.com> | 2011-09-22 18:34:51 +0530 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2011-09-22 17:44:03 -0700 |
commit | 0e75261988f8b5a63c30180b083602b174e0a5ca (patch) | |
tree | c4c4de4c81234140eb07b8ca76a4b41987af52d4 | |
parent | 8b10a6e8bd36758769905b49e538c60083f1b49c (diff) |
usb: gadget: fsl: remove vbus sensor based detection
vbus presence is tested based on vbus sensors. This
is needed only for FPGA.
Bug 864018
Change-Id: Idacf8a09d4942f17d4ed2223ce21c91b2d4c70f8
Reviewed-on: http://git-master/r/54006
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Tested-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
-rw-r--r-- | drivers/usb/gadget/fsl_udc_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/fsl_udc_core.c b/drivers/usb/gadget/fsl_udc_core.c index d4b689d631df..8a016a20cd47 100644 --- a/drivers/usb/gadget/fsl_udc_core.c +++ b/drivers/usb/gadget/fsl_udc_core.c @@ -2136,7 +2136,7 @@ static irqreturn_t fsl_udc_irq(int irq, void *_udc) spin_unlock_irqrestore(&udc->lock, flags); return IRQ_NONE; } -#ifndef CONFIG_ARCH_TEGRA_2x_SOC +#ifndef CONFIG_TEGRA_SILICON_PLATFORM { u32 temp = fsl_readl(&usb_sys_regs->vbus_sensors); udc->vbus_active = (temp & USB_SYS_VBUS_ASESSION) ? true : false; |