diff options
author | John Baldwin <jhb@FreeBSD.org> | 2022-04-07 17:46:19 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2022-04-07 17:46:19 +0000 |
commit | 3cebca152b183a87c48a3d36610569f2b4865261 (patch) | |
tree | 79e26c22de3445646605c23d8df1a186c8fd0ae0 | |
parent | d7224a53b392ec6e230749d9fb42d8826d305d08 (diff) | |
download | src-3cebca152b183a87c48a3d36610569f2b4865261.tar.gz src-3cebca152b183a87c48a3d36610569f2b4865261.zip |
bnhd: Write out updated resource dependencies from the table.
The driver parsed the table to update the relevant resource map
registers, but failed to write the new register value after computing
it.
Reported by: -Wunused-but-set-variable
Reviewed by: landonf, imp
Differential Revision: https://reviews.freebsd.org/D34814
-rw-r--r-- | sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c b/sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c index 33300ff77b2c..85f0495f321e 100644 --- a/sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c +++ b/sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c @@ -1091,7 +1091,8 @@ bhnd_pmu_res_init(struct bhnd_pmu_softc *sc) break; } - + BHND_PMU_WRITE_4(sc, BHND_PMU_RES_DEP_MASK, + depend_mask); } } |