From 6c910c24ab1362dad5366bacca1ac81a7c06a71d Mon Sep 17 00:00:00 2001 From: Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> Date: Mon, 30 Nov 2026 12:12:19 +1100 Subject: [PATCH] selftests: apple-dcp: stub cd321x_replug_kept_attach() in the tipd_init() harness #3587 made tipd_init() call cd321x_replug_kept_attach(). The probe-transaction-rollback case extracts tipd_init() from tipd/core.c but has no stub for the new call, so it fails to build and the apple-dcp host test is red on main since 94104a69. Stub it like the neighbouring tipd_port_list_add(). Signed-off-by: Ryan Murray --- tools/testing/selftests/drivers/gpu/apple-dcp/transaction.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/drivers/gpu/apple-dcp/transaction.py b/tools/testing/selftests/drivers/gpu/apple-dcp/transaction.py index 7e98084906081..829f723f5734b 100644 --- a/tools/testing/selftests/drivers/gpu/apple-dcp/transaction.py +++ b/tools/testing/selftests/drivers/gpu/apple-dcp/transaction.py @@ -427,6 +427,7 @@ def probe(root): static bool device_property_read_bool(void *d,const char *p) { (void)d;(void)p;return false; } static void tipd_debugfs_register(struct tps6598x *t) { (void)t; } static void tipd_port_list_add(struct tps6598x *t) { (void)t; } +static void cd321x_replug_kept_attach(struct tps6598x *t) { (void)t; } static int register_port(struct tps6598x *t,struct fwnode_handle *f) { (void)t;(void)f;return register_error; } static bool read_data_status(struct tps6598x *t) { (void)t;return true; } static int connect(struct tps6598x *t,u32 status) { (void)t;(void)status;return connect_error; }