Re: [PATCH v5 02/11] platform/raspberrypi: vchiq: Store audio device in driver management struct
From: Florian Fainelli
Date: Fri Nov 13 2026 - 22:28:49 EST
On 11/12/2026 3:18 AM, Jai Luthra wrote:
The VCHIQ firmware devices are not discoverable, so they must be tracked
manually by the driver. Previously, the bcm2835 audio device was stored
in a static global pointer.
Move the audio device pointer into struct vchiq_drv_mgmt instead, so it
is properly associated with the driver instance and lifecycle. This
avoids global state and makes device registration and removal follow the
platform device more cleanly.
No functional change intended.
Signed-off-by: Jai Luthra <jai.luthra@xxxxxxxxxxxxxxxx>
---
Applied to https://github.com/Broadcom/stblinux/commits/drivers/next, thanks!
--
Florian