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
This commit is contained in:
John Baldwin 2022-04-07 10:46:19 -07:00
parent d7224a53b3
commit 3cebca152b

View File

@ -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);
}
}