Patch "Staging: fbtft: Fix bug in fbtft-core" has been added to the 4.4-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
Staging: fbtft: Fix bug in fbtft-core
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
staging-fbtft-fix-bug-in-fbtft-core.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
fc1e2c8ea85e109acf09e74789e9b852f6eed251Mon Sep 17 00:00:00 2001
From: Ksenija Stanojevic <[email protected]>
Date: Sun, 2 Oct 2016 17:42:35 +0200
Subject: Staging: fbtft: Fix bug in fbtft-core
From: Ksenija Stanojevic <[email protected]>
commit fc1e2c8ea85e109acf09e74789e9b852f6eed251 upstream.
Commit 367e8560e8d7a62d96e9b1d644028a3816e04206 introduced a bug in fbtft-core where fps is always 0, this is because variable update_time is not assigned correctly.
--- drivers/staging/fbtft/fbtft-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/fbtft/fbtft-core.c +2 -2
@@ -392,11 +392,11 @@ static void fbtft_update_display(structif (unlikely (timeit)) { ts_end =ktime_get (); -if (ktime_to_ns (par->update_time)) +if (!ktime_to_ns (par->update_time)) par->update_time = ts_start; - par->update_time = ts_start; fps =ktime_us_delta (ts_start, par->update_time); + par->update_time = ts_start; fps = fps ?1000000 / fps :0 ; throughput =ktime_us_delta (ts_end, ts_start);
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/staging-fbtft-fix-bug-in-fbtft-core.patch