diff options
| author | Chancel Liu <chancel.liu@nxp.com> | 2026-09-13 19:15:28 +0900 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-14 14:57:28 +0100 |
| commit | 10e2ccaae4971fa1812b40d37d7d6ed3fcfb9102 (patch) | |
| tree | 6b119a135a772f3ad3ec65c79f34d9462c192734 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 644914663c9f9820310d0384f61c42a836d3ed3a (diff) | |
ASoC: tlv320aic31xx: Register regulator notifier from the I2C probe
aic31xx registers its regulator disable notifiers from the ASoC
component probe, but the associated devres cleanup is tied to the
underlying I2C device.
The notifiers are only mishandled when the sound card is unregistered
and re-registered while the I2C device stays bound. On that path the
component probe runs again and re-registers the same notifier_block on
the still-registered regulator notifier chain and corrupts the chain.
Move the notifier registration to aic31xx_i2c_probe() so it runs once
per I2C device bind, right after the supplies are requested there.
Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
Link: https://patch.msgid.link/20260913101531.2787654-4-chancel.liu@oss.nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
