Linux Media Controller development
 help / color / mirror / Atom feed
* [PATCH 0/2] media: usb: hdpvr: make use of quirk flags from I2C core
@ 2025-05-22  6:55 Wolfram Sang
  2025-05-22  6:55 ` [PATCH 1/2] media: usb: hdpvr: disable zero-length read messages Wolfram Sang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Wolfram Sang @ 2025-05-22  6:55 UTC (permalink / raw)
  To: linux-i2c
  Cc: Alan Stern, Nikita Zhandarovich, Wolfram Sang, Hans Verkuil,
	linux-media, Mauro Carvalho Chehab

We found a pattern that could create USB protocol violations for devices
which embed an I2C bus and use I2C message lengths directly. Patch 1
fixes the bug for this driver by using a quirk flag. Patch 2 is a
cleanup to remove a pattern in the driver which can also be handled with
a quirk flag.

Wolfram Sang (2):
  media: usb: hdpvr: disable zero-length read messages
  media: usb: hdpvr: use I2C core to handle only supported messages

 drivers/media/usb/hdpvr/hdpvr-i2c.c | 29 ++++++++---------------------
 1 file changed, 8 insertions(+), 21 deletions(-)

-- 
2.47.2


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-05-22  8:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-22  6:55 [PATCH 0/2] media: usb: hdpvr: make use of quirk flags from I2C core Wolfram Sang
2025-05-22  6:55 ` [PATCH 1/2] media: usb: hdpvr: disable zero-length read messages Wolfram Sang
2025-05-22  6:55 ` [PATCH 2/2] media: usb: hdpvr: use I2C core to handle only supported messages Wolfram Sang
     [not found] ` <682ed8b3.050a0220.1b76f0.5818@mx.google.com>
2025-05-22  8:05   ` [0/2] media: usb: hdpvr: make use of quirk flags from I2C core Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox