diff options
| author | Chancel Liu <chancel.liu@nxp.com> | 2026-09-13 19:15:29 +0900 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-14 14:57:28 +0100 |
| commit | 3efb5b99f642736d132c10d368e6a9818dfd0bd8 (patch) | |
| tree | 43ad665fd1554334bc4542c59ad4ab46259c0489 /tools/perf/scripts/python/netdev-times.py | |
| parent | 10e2ccaae4971fa1812b40d37d7d6ed3fcfb9102 (diff) | |
ASoC: tlv320aic3x: Register regulator notifier from the bus probe
aic3x registers its regulator disable notifiers from the ASoC component
probe, but the associated devres cleanup is tied to the underlying bus
device.
The notifiers are only mishandled when the sound card is unregistered
and re-registered while the bus 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 aic3x_probe(), the shared bus probe
helper called from the I2C and SPI probes, so it runs once per bus
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-5-chancel.liu@oss.nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
