summaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-starfive.c
diff options
context:
space:
mode:
authorSughosh Ganu <sughosh.ganu@linaro.org>2025-03-03 19:02:28 +0530
committerTom Rini <trini@konsulko.com>2025-03-17 19:39:27 -0600
commit6e4df5886d27cff043561c8087f373e26cfe9f34 (patch)
treeb302c66aaccf84ac4b08ff00f158abe97e13a07b /drivers/usb/cdns3/cdns3-starfive.c
parente0a7ea3725d8931a2c31f29ed665ec1f22e37172 (diff)
lmb: check for a region's coalescing with all existing regions
The lmb_add_region_flags() first checks if the new region to be added can be coalesced with existing regions. The check stops if the two regions are adjecent but their flags do not match. However, it is possible that the newly added region might be adjacent with the next existing region and with matching flags. Check for this possibility by not breaking out of the loop. Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-starfive.c')
0 files changed, 0 insertions, 0 deletions