usb: musb: musb_cppi41: Configure the number of channels for DA8xx
authorAlexandre Bailon <abailon@baylibre.com>
Tue, 10 Oct 2017 03:46:11 +0000 (22:46 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Oct 2017 09:42:51 +0000 (11:42 +0200)
commit297d7fe9e439473800ab1f2f853b4b5f8c888500
tree8a0c54be185eccfcf4da1ffa455dbb7b5ecda1bb
parente10c5b0c773efb8643ee89d387d310584ca30830
usb: musb: musb_cppi41: Configure the number of channels for DA8xx

Currently, the number of channels is set to 15 but in the case of DA8xx,
the number of channels is 4.
Update the driver to configure the number of channels at runtime.

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