diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2021-10-05 20:51:18 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2021-10-05 23:54:18 +0200 |
commit | eb3a99bc183e36922b9e8314620e4e64964bcaf0 (patch) | |
tree | 9f810d6d91e43a3e3dd05ba6b0c9b450b96be5bc /target/linux/bcm27xx/patches-5.4/950-0885-media-i2c-imx290-Explicitly-set-v-h-blank-on-mode-ch.patch | |
parent | 81ba544f88e6fd3252fb2f7dd9103c4bd9f83bfb (diff) | |
download | upstream-eb3a99bc183e36922b9e8314620e4e64964bcaf0.tar.gz upstream-eb3a99bc183e36922b9e8314620e4e64964bcaf0.tar.bz2 upstream-eb3a99bc183e36922b9e8314620e4e64964bcaf0.zip |
bcm27xx: remove obsolete kernel 5.4
With the upgrade to kernel 5.10 per default the old version is no
longer required to be in tree.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/bcm27xx/patches-5.4/950-0885-media-i2c-imx290-Explicitly-set-v-h-blank-on-mode-ch.patch')
-rw-r--r-- | target/linux/bcm27xx/patches-5.4/950-0885-media-i2c-imx290-Explicitly-set-v-h-blank-on-mode-ch.patch | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/target/linux/bcm27xx/patches-5.4/950-0885-media-i2c-imx290-Explicitly-set-v-h-blank-on-mode-ch.patch b/target/linux/bcm27xx/patches-5.4/950-0885-media-i2c-imx290-Explicitly-set-v-h-blank-on-mode-ch.patch deleted file mode 100644 index 751f46db35..0000000000 --- a/target/linux/bcm27xx/patches-5.4/950-0885-media-i2c-imx290-Explicitly-set-v-h-blank-on-mode-ch.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 0a47c61cee411b3ada4413f6cebae8cdb06f062e Mon Sep 17 00:00:00 2001 -From: Dave Stevenson <dave.stevenson@raspberrypi.com> -Date: Tue, 7 Jul 2020 10:31:53 +0100 -Subject: [PATCH] media: i2c: imx290: Explicitly set v&h blank on - mode change - -__v4l2_ctrl_modify_range only updates the current value should -it be invalid within the new range. That can leave modes producing -odd frame rates. - -Explicitly update the HBLANK and VBLANK values so that on mode -change we revert to the default frame rate for the mode. - -Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> ---- - drivers/media/i2c/imx290.c | 10 ++++++++-- - 1 file changed, 8 insertions(+), 2 deletions(-) - ---- a/drivers/media/i2c/imx290.c -+++ b/drivers/media/i2c/imx290.c -@@ -796,17 +796,23 @@ static int imx290_set_fmt(struct v4l2_su - __v4l2_ctrl_s_ctrl_int64(imx290->pixel_rate, - imx290_calc_pixel_rate(imx290)); - -- if (imx290->hblank) -+ if (imx290->hblank) { - __v4l2_ctrl_modify_range(imx290->hblank, - imx290->hmax_min - mode->width, - IMX290_HMAX_MAX - mode->width, - 1, mode->hmax - mode->width); -- if (imx290->vblank) -+ __v4l2_ctrl_s_ctrl(imx290->hblank, -+ mode->hmax - mode->width); -+ } -+ if (imx290->vblank) { - __v4l2_ctrl_modify_range(imx290->vblank, - mode->vmax - mode->height, - IMX290_VMAX_MAX - mode->height, - 1, - mode->vmax - mode->height); -+ __v4l2_ctrl_s_ctrl(imx290->vblank, -+ mode->vmax - mode->height); -+ } - if (imx290->exposure) - __v4l2_ctrl_modify_range(imx290->exposure, - mode->vmax - mode->height, |