summaryrefslogtreecommitdiff
path: root/scripts/checkstack.pl
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-05-11 16:37:07 +0200
committerWolfram Sang <wsa+renesas@sang-engineering.com>2026-05-30 23:57:18 +0200
commit3c7e164344e5bcf6f274bbf59a3274f5caad9bc1 (patch)
tree64ba14eb6d061c58ee226b14c32aa21699b82b27 /scripts/checkstack.pl
parent8ce19524e4cc2462685f596a6402fbd8fb984ab2 (diff)
i2c: core: fix hang on adapter registration failure
Clients may be registered from bus notifier callbacks when the adapter is registered. On a subsequent error during registration, the adapter references taken by such clients prevent the wait for the references to be released from ever completing. Fix this by refactoring client deregistration and deregistering also on late adapter registration failures. Fixes: f8756c67b3de ("i2c: core: call of_i2c_setup_smbus_alert in i2c_register_adapter") Cc: stable@vger.kernel.org # 4.15 Cc: Phil Reid <preid@electromag.com.au> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions