[PATCH 0/3] media: cxd2880: three small fixes

From: Enrico Lorenzoni

Date: Wed Nov 18 2026 - 17:07:44 EST


Three independent fixes for the CXD2880 driver, found while running
Raspberry Pi TV HATs (one and two tuners per Pi) with an out-of-tree
build of the driver. Each patch stands on its own and can be applied
separately.

1/3 removes a function-local static in cxd2880_attach() that is shared
by all CXD2880 devices in the system.
2/3 keeps the TS reader thread alive until kthread_stop(), avoiding a
use-after-free when an SPI command fails. Cc: stable.
3/3 lowers the per-tune and pre-lock DVB-T2 messages from info to debug.

They are independent of the carrier offset fix sent earlier:
https://lore.kernel.org/linux-media/20261118195135.92439-1-enricolorenzoni59@xxxxxxxxx/

The patches and changelogs were prepared with the help of an AI coding
assistant (Anthropic Claude); I have reviewed them. What was tested and
what could not be is described in each patch.

Enrico Lorenzoni (3):
media: cxd2880: do not keep the attach state in a static variable
media: cxd2880-spi: keep the TS thread alive until kthread_stop()
media: cxd2880: lower routine tune and L1 messages to debug level

.../media/dvb-frontends/cxd2880/cxd2880_top.c | 18 +++++++++---------
drivers/media/spi/cxd2880-spi.c | 9 ++++-----
2 files changed, 13 insertions(+), 14 deletions(-)


base-commit: aa0f4c41d4870a18e65772a1817af16427200371
--
2.47.3