-
- Downloads
[media] pwc: Fix pixfmt handling
Before this patch various code in the mode setting patch checked pdev->pixfmt, but that was not set until the mode setting succeeded, so it was looking at the old pixfmt! This patch fixes this by making the pixfmt a parameter to set_video_mode, and setting it from set_video_mode on success. Signed-off-by:Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com>
Showing
- drivers/media/video/pwc/pwc-ctrl.c 20 additions, 19 deletionsdrivers/media/video/pwc/pwc-ctrl.c
- drivers/media/video/pwc/pwc-if.c 3 additions, 2 deletionsdrivers/media/video/pwc/pwc-if.c
- drivers/media/video/pwc/pwc-misc.c 0 additions, 1 deletiondrivers/media/video/pwc/pwc-misc.c
- drivers/media/video/pwc/pwc-v4l.c 4 additions, 9 deletionsdrivers/media/video/pwc/pwc-v4l.c
- drivers/media/video/pwc/pwc.h 1 addition, 1 deletiondrivers/media/video/pwc/pwc.h
Loading
Please register or sign in to comment