]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
usb: musb: musb_cppi41: Fix the address of teardown and autoreq registers
authorAlexandre Bailon <abailon@baylibre.com>
Tue, 10 Oct 2017 03:46:09 +0000 (22:46 -0500)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Thu, 16 Nov 2017 13:23:11 +0000 (11:23 -0200)
commitb1b81178f593c82d13bd9af311c4cd9eb21ee94e
tree10f1101efa2302bd841d256e234e9703246f14a5
parent6bc237c1cf549d7fb88c0b198281b7f4b02fd196
usb: musb: musb_cppi41: Fix the address of teardown and autoreq registers

BugLink: http://bugs.launchpad.net/bugs/1731951
commit bfa53e0e366b98185fadb03f7916d1538cb90ebd upstream.

The DA8xx and DSPS platforms don't use the same address for few registers.
On Da8xx, this is causing some issues (e.g. teardown that doesn't work).
Configure the address of the register during the init and use them instead
of constants.

Reported-by: nsekhar@ti.com
Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
Tested-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
drivers/usb/musb/musb_cppi41.c