]> git.baikalelectronics.ru Git - 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Oct 2017 09:42:51 +0000 (11:42 +0200)
commit6c6f2de475494b158931ddfe813e640692243ebc
tree123ab972a97777eeb75458ec51a5d8bd81f1a326
parent02e90ab09aba3fb03487490748b2abaec767fdc0
usb: musb: musb_cppi41: Fix the address of teardown and autoreq registers

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.

Cc: stable@vger.kernel.org # v4.12+
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