Re: [PATCH 05/12] usb: dwc3: Override end of dwc3 memory resource

From: Konrad Dybcio
Date: Tue Oct 17 2023 - 12:14:22 EST




On 10/17/23 05:11, Bjorn Andersson wrote:
In the case that the dwc3 core driver is instantiated from the same
memory resource information as the glue driver, the dwc_res memory
region will overlap with the memory region already mapped by the glue.

As the DWC3 core driver already does math on the passed memory region to
exclude the XHCI region, also adjust the end address, to avoid having to
pass an adjusted region from the glue explicitly.

Signed-off-by: Bjorn Andersson <quic_bjorande@xxxxxxxxxxx>
---
Acked-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>

Konrad