Staging: fbtft: Fix bug in fbtft-core
authorKsenija Stanojevic <ksenija.stanojevic@gmail.com>
Sun, 2 Oct 2016 15:42:35 +0000 (17:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Oct 2016 13:23:47 +0000 (15:23 +0200)
commitbe93c69e9ba41fcf501f855ba47f068e5f75b13f
tree759848ee585a19af085b3493176e0dd6aa78b44a
parent62dd9cf78b280c8cd08162f8c4a490fb76deeb23
Staging: fbtft: Fix bug in fbtft-core

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.

Signed-off-by: Ksenija Stanojevic <ksenija.stanojevic@gmail.com>
Fixes: 367e8560e8d7 ("Staging: fbtbt: Replace timespec with ktime_t")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fbtft-core.c