usb: gadget: bdc: 64-bit pointer capability check
commit9fad15931cc5bc42a8cd4739d58ebab527ac1d42
authorSrinath Mannam <srinath.mannam@broadcom.com>
Thu, 15 Jun 2017 09:09:22 +0000 (15 14:39 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Mar 2018 08:18:01 +0000 (22 09:18 +0100)
tree37da9dfdf8bc31702fd64bc7895cf5a7950de259
parentecb1886f9b4fea6408f4d9c6defcc7ba3db88c29
usb: gadget: bdc: 64-bit pointer capability check

commit c8e4e5bdb62a5ac6f860ebcaaf7b467b62f453f1 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc/bdc/bdc_core.c