usb: gadget: bdc: 64-bit pointer capability check
authorSrinath Mannam <srinath.mannam@broadcom.com>
Thu, 15 Jun 2017 09:09:22 +0000 (14:39 +0530)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 19 Jun 2017 06:22:31 +0000 (09:22 +0300)
commitc8e4e5bdb62a5ac6f860ebcaaf7b467b62f453f1
treeb8dea8d877905277f9c995a2666047ade1f1ebae
parentece7af5f787ee94ef4a8adb5cd9c40d6f475a7ba
usb: gadget: bdc: 64-bit pointer capability check

Corrected the register to check the 64-bit pointer
capability state. 64-bit pointer implementation capability
was checking in wrong register, which causes the BDC
enumeration failure in 64-bit memory address.

Fixes: efed421a94e6 ("usb: gadget: Add UDC driver for
Broadcom USB3.0 device controller IP BDC")

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Srinath Mannam <srinath.mannam@broadcom.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/bdc/bdc_core.c