mbox series

[0/2] media: fix USB control-request directions

Message ID 20210521132839.17163-1-johan@kernel.org (mailing list archive)
Headers show
Series media: fix USB control-request directions | expand

Message

Johan Hovold May 21, 2021, 1:28 p.m. UTC
The direction of the pipe argument must match the request-type
direction bit or USB control requests may fail depending on the
host-controller-driver implementation.

This series fixes two media driver that got this wrong.

Johan


Johan Hovold (2):
  media: dtv5100: fix control-request directions
  media: gspca/sq905: fix control-request direction

 drivers/media/usb/dvb-usb/dtv5100.c | 7 +++++--
 drivers/media/usb/gspca/sq905.c     | 2 +-
 2 files changed, 6 insertions(+), 3 deletions(-)