perf/amlogic: Fix config1/config2 parsing issue
authorJiucheng Xu <jiucheng.xu@amlogic.com>
Thu, 9 Feb 2023 11:54:01 +0000 (19:54 +0800)
committerWill Deacon <will@kernel.org>
Mon, 27 Mar 2023 14:12:05 +0000 (15:12 +0100)
commitc61e5720f23273269cc67ffb2908cf9831c8ca9d
tree8aa8bf946e53cf770416ddf1179bf3ff94c49721
parentbc12f344d5de246d0e2bd1ffcd5f950314e460d9
perf/amlogic: Fix config1/config2 parsing issue

The 3th argument of for_each_set_bit is incorrect, fix them.

Fixes: 2016e2113d35 ("perf/amlogic: Add support for Amlogic meson G12 SoC DDR PMU driver")
Signed-off-by: Jiucheng Xu <jiucheng.xu@amlogic.com>
Link: https://lore.kernel.org/r/20230209115403.521868-1-jiucheng.xu@amlogic.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/amlogic/meson_ddr_pmu_core.c