From a8d4d71c41ff0158c2026cac5981e39702167da9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Thu, 7 Apr 2016 21:25:10 +0200 Subject: brcm2708: update to latest version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As usual these patches were extracted from the raspberry pi repo: https://github.com/raspberrypi/linux/commits/rpi-4.4.y Signed-off-by: Álvaro Fernández Rojas --- ...era-fix-a-bug-in-computation-of-frame-tim.patch | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 target/linux/brcm2708/patches-4.4/0163-bcm2835-camera-fix-a-bug-in-computation-of-frame-tim.patch (limited to 'target/linux/brcm2708/patches-4.4/0163-bcm2835-camera-fix-a-bug-in-computation-of-frame-tim.patch') diff --git a/target/linux/brcm2708/patches-4.4/0163-bcm2835-camera-fix-a-bug-in-computation-of-frame-tim.patch b/target/linux/brcm2708/patches-4.4/0163-bcm2835-camera-fix-a-bug-in-computation-of-frame-tim.patch new file mode 100644 index 0000000000..ecc52298f5 --- /dev/null +++ b/target/linux/brcm2708/patches-4.4/0163-bcm2835-camera-fix-a-bug-in-computation-of-frame-tim.patch @@ -0,0 +1,23 @@ +From f22f155684481bb96748677bc58705d27bf4f06b Mon Sep 17 00:00:00 2001 +From: Dhiraj Goel +Date: Thu, 3 Mar 2016 21:10:50 -0800 +Subject: [PATCH 163/232] bcm2835-camera: fix a bug in computation of frame + timestamp + +Fixes #1318 +--- + drivers/media/platform/bcm2835/bcm2835-camera.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +--- a/drivers/media/platform/bcm2835/bcm2835-camera.c ++++ b/drivers/media/platform/bcm2835/bcm2835-camera.c +@@ -360,8 +360,7 @@ static void buffer_cb(struct vchiq_mmal_ + div = + div_u64_rem(runtime_us, USEC_PER_SEC, &rem); + buf->vb.timestamp.tv_sec = +- dev->capture.kernel_start_ts.tv_sec - 1 + +- div; ++ dev->capture.kernel_start_ts.tv_sec + div; + buf->vb.timestamp.tv_usec = + dev->capture.kernel_start_ts.tv_usec + rem; + -- cgit v1.2.3