diff options
| author | Pengpeng Hou <pengpeng@iscas.ac.cn> | 2026-06-16 08:53:46 +0800 |
|---|---|---|
| committer | Sven Peter <sven@kernel.org> | 2026-07-05 16:24:05 +0200 |
| commit | 36887b488b253c99660a7cef52bb1202820bfdae (patch) | |
| tree | 5edc82c70338f604d27e72aa64923f5225ee459f /tools/lib/python | |
| parent | dc59e4fea9d83f03bad6bddf3fa2e52491777482 (diff) | |
soc: apple: sart: require device link for consumers
devm_apple_sart_get() obtains the supplier platform device and attempts
to create a runtime-PM device link to it, but it ignores device_link_add()
failure. A consumer can then continue without the dependency that keeps
the SART supplier ordered and runtime-PM reachable.
Treat a failed device link as an error and drop the supplier device
reference before returning.
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Reviewed-by: Joshua Peisach <jpeisach@ubuntu.com>
Link: https://patch.msgid.link/20260616005346.7862-1-pengpeng@iscas.ac.cn
Signed-off-by: Sven Peter <sven@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
