Re: [PATCH 08/12] usb: dwc3: qcom: Inline the qscratch constants

From: Konrad Dybcio
Date: Tue Oct 17 2023 - 12:18:49 EST




On 10/17/23 05:11, Bjorn Andersson wrote:
The two constants for the offset and size of the qscratch block within
the DWC3 region has the same value in all supported variants, so they
don't necessarily need to be picked dynamically.

By replacing the lookup with the constants it's possible to reuse the
same code path without the ACPI pdata structure in the upcoming commit.

Signed-off-by: Bjorn Andersson <quic_bjorande@xxxxxxxxxxx>
---
If we don't want more non-flagship-SoC-based post-sdm845 ACPI-supported platforms, using just one of N USB controllers

which I am very happy that we don't

so much so that I'd be even happy to drop this acpi thing altogether

Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>

Konrad