usb: isp1760: fix memory pool initialization
authorRui Miguel Silva <rui.silva@linaro.org>
Fri, 27 Aug 2021 13:11:50 +0000 (14:11 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Aug 2021 14:11:38 +0000 (16:11 +0200)
commitf757f9291f920e1da4c6cfd4064c6bf59639983e
treec6a9351a7bc6738bc913d7b263d5111d95351d23
parentf73800a905a8a9c35b989e8de9ce5cdf328c2b63
usb: isp1760: fix memory pool initialization

The loops to setup the memory pool were skipping some
blocks, that was not visible on the ISP1763 because it has
fewer blocks than the ISP1761. But won testing on that IP
from the family that would be an issue.

Reported-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Tested-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Link: https://lore.kernel.org/r/20210827131154.4151862-2-rui.silva@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/isp1760/isp1760-hcd.c