Merge "pci: msm: Correct the cesta map table index"

This commit is contained in:
qctecmdr 2023-07-25 20:19:38 -07:00 committed by Gerrit - the friendly Code Review server
commit 7fdcc1e1ab

View File

@ -969,7 +969,7 @@ static const char * const msm_pcie_cesta_states[] = {
};
/* CESTA Power state to Perf level mapping w.r.t CESTA usage scenarios */
static u32 msm_pcie_cesta_map[MAX_PERF_LVL][MAX_POWER_STATE] = {
static u32 msm_pcie_cesta_map[MAX_MAP_IDX][MAX_POWER_STATE] = {
{PERF_LVL_D3COLD, PERF_LVL_D3COLD},
{MAX_PERF_LVL, MAX_PERF_LVL},
{PERF_LVL_L1SS, MAX_PERF_LVL},