regmap: Fix cache lifecycle locking and teardown

Michael Reeves <michael.reeves077@gmail.com> says:

Fix an "Invalid wait context" lockdep warning during Apple GPIO probe and
correct debugfs ordering during cache teardown.

Tested on Apple M3 MacBook Air (T8122):

- All 4 GPIO controllers probe successfully with lockdep enabled.
- The "Invalid wait context" warning no longer occurs.
- The regmap KUnit suite passes and lockdep remains enabled.

Link: https://patch.msgid.link/20261006-regcache-lifecycle-submit-v3-0-37bdd82fd47c@gmail.com
This commit is contained in:
Mark Brown 2026-10-13 00:11:44 +01:00
commit d5a821f660
No known key found for this signature in database
GPG key ID: 2FEF73B0B3D03889
2861 changed files with 54634 additions and 19284 deletions

Some files were not shown because too many files have changed in this diff Show more