]> git.ipfire.org Git - thirdparty/linux.git/commit
staging: vchiq_arm: Improve initial VCHIQ connect
authorStefan Wahren <wahrenst@gmx.net>
Sun, 9 Mar 2025 12:50:14 +0000 (13:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Mar 2025 14:11:21 +0000 (07:11 -0700)
commit3e5def4249b9ad089aa0b46b84e6f5f8f70e2d85
tree5b88493ca4e13dad57f2631497bc6a1603fe02ea
parent86bc8821700665ad3962f3ef0d93667f59cf7031
staging: vchiq_arm: Improve initial VCHIQ connect

The code to start the keep-alive thread on initial VCHIQ connect
within vchiq_platform_conn_state_changed is unnecessary complex.
Move the keep-alive thread wake-up into a separate function and call it
during VCHIQ connect.

Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Link: https://lore.kernel.org/r/20250309125014.37166-6-wahrenst@gmx.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h