mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 19:43:40 +02:00
[GIT PULL for v7.1-rc6] media fixes
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE+QmuaPwR3wnBdVwACF8+vY7k4RUFAmocey8ACgkQCF8+vY7k 4RVECg//S/RyTkfjj+T98e7/mfmTDvCGt0Yf3ZqrZFpKG86Abea7itEzUkOWHLBy eiJPvQIN2DX1ShIUl2FCA7WLb0tcrWDthQnXEjiY6FIsxJ9vFOO1xt3ITTIEBoV4 yWepMVxbWYcG/Keo8CHb3JqopOpiuJD5GARSEXBLAq/1qib8RYFBR1mrkIlSRJm6 22vso92qMFutAgVGbIlCbrh+xQ4UphpvVj1PEGe/eFA5P0zF1y0tpwc+ZIXUV855 w8ZfVHBJH6CWpwNyBqSVc012rzKFmZafoZi4iENIbOMSeeq/aNNk31zW5DurQ4I+ qcb9usbhHdfDTDCelfdaIXyUX7EaFkXJUu/n9hIYjSxVR9hRTwwVWsoGCyWBIMdl Q+nW1JnRlKo3Qc8Yh7h3Pvb0v38kqzzoOQKXdsMdmkzgkMlnEn/dy5mkVyKAmRN6 E7RECkfOehRnWLFGHaLIbcqLCurIOVcpfqZKaTDC1wTE8UeMb9XBNDDKRyqpMABQ rFowKDtkwFXsJtAqfpgF1nwanJD9alMkgBAAKti/QkbLuJKLN7yxyhx0i/pUEy7i 0Oe/JQ+xHnnozeVpLQtQS2fLu7Dbni2B4M06J1MO5N4AZIlHpMOVjGpOhzDyIiZb BMu1w28zPzsfGhInm8dE0uVg5COG8Tp9BhMgXJyIJdiG23hPoIc= =52nn -----END PGP SIGNATURE----- Merge tag 'media/v7.1-4' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media Pull media fixes from Mauro Carvalho Chehab: - rc: igorplugusb: fix control request setup packet - vsp1: revert a couple patches to fix regressions when setting DRM pipelines * tag 'media/v7.1-4' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: media: rc: igorplugusb: fix control request setup packet Revert "media: renesas: vsp1: brx: Fix format propagation" Revert "media: renesas: vsp1: Initialize format on all pads"
This commit is contained in:
commit
8d9c51eac6
|
|
@ -156,20 +156,14 @@ static int brx_set_format(struct v4l2_subdev *subdev,
|
|||
compose->height = format->height;
|
||||
}
|
||||
|
||||
/*
|
||||
* Propagate the format code to all pads, and the whole format to the
|
||||
* source pad.
|
||||
*/
|
||||
/* Propagate the format code to all pads. */
|
||||
if (fmt->pad == BRX_PAD_SINK(0)) {
|
||||
unsigned int i;
|
||||
|
||||
for (i = 0; i < brx->entity.source_pad; ++i) {
|
||||
for (i = 0; i <= brx->entity.source_pad; ++i) {
|
||||
format = v4l2_subdev_state_get_format(state, i);
|
||||
format->code = fmt->format.code;
|
||||
}
|
||||
|
||||
format = v4l2_subdev_state_get_format(state, i);
|
||||
*format = fmt->format;
|
||||
}
|
||||
|
||||
done:
|
||||
|
|
|
|||
|
|
@ -380,7 +380,7 @@ static int vsp1_entity_init_state(struct v4l2_subdev *subdev,
|
|||
unsigned int pad;
|
||||
|
||||
/* Initialize all pad formats with default values. */
|
||||
for (pad = 0; pad < subdev->entity.num_pads; ++pad) {
|
||||
for (pad = 0; pad < subdev->entity.num_pads - 1; ++pad) {
|
||||
struct v4l2_subdev_format format = {
|
||||
.pad = pad,
|
||||
.which = sd_state ? V4L2_SUBDEV_FORMAT_TRY
|
||||
|
|
|
|||
|
|
@ -184,7 +184,7 @@ static int igorplugusb_probe(struct usb_interface *intf,
|
|||
if (!ir->buf_in)
|
||||
goto fail;
|
||||
usb_fill_control_urb(ir->urb, udev,
|
||||
usb_rcvctrlpipe(udev, 0), (uint8_t *)&ir->request,
|
||||
usb_rcvctrlpipe(udev, 0), (uint8_t *)ir->request,
|
||||
ir->buf_in, MAX_PACKET, igorplugusb_callback, ir);
|
||||
|
||||
usb_make_path(udev, ir->phys, sizeof(ir->phys));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user