git: 3cebca152b18 - main - bnhd: Write out updated resource dependencies from the table.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Thu, 07 Apr 2022 17:47:27 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=3cebca152b183a87c48a3d36610569f2b4865261

commit 3cebca152b183a87c48a3d36610569f2b4865261
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-04-07 17:46:19 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-04-07 17:46:19 +0000

    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
---
 sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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