[lvc-project] [PATCH v2 0/2] media: dvb-usb-v2: add init_ready flag to prevent race during device initialization
Fedor Pchelkin
pchelkin at ispras.ru
Sun Nov 9 12:52:44 MSK 2025
On Fri, 07. Nov 21:16, Nalivayko Sergey wrote:
> This patch series introduces an atomic init_ready flag in
> struct dvb_usb_device and adds checks in relevant code paths.
> Drivers now verify that device initialization has completed before
> performing operations that rely on initialized device state.
> If the device is not yet ready, the operation is deferred until
> initialization finishes, preventing race conditions and improving
> driver robustness.
По какой причине направлена v2? Что поменялось и в связи с чем?
>
> Nalivayko Sergey (2):
> media: dvb-usb-v2: add device init_ready flag
> media: mxl111sf: fix i2c race condition during device probe
>
> drivers/media/usb/dvb-usb-v2/dvb_usb.h | 4 ++++
> drivers/media/usb/dvb-usb-v2/dvb_usb_core.c | 4 ++++
> drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c | 2 +-
> 3 files changed, 9 insertions(+), 1 deletion(-)
>
> --
> 2.39.5
More information about the lvc-project
mailing list