]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Oct 2017 08:39:10 +0000 (10:39 +0200)
commitdb6e446f73eb5999aa32cad624a9f3afc0057d59
tree4bb55c5de0ca2a7630ed25762ba876d913f6cf7d
parent6fc8dcbecd6395af39fbe0e595ec9c21b0532db6
usb: musb: musb_cppi41: Fix the address of teardown and autoreq registers

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>
drivers/usb/musb/musb_cppi41.c