auxdisplay: ht16k33: Fix refresh rate handling
authorGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 22 Jan 2021 15:39:40 +0000 (16:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Mar 2021 10:38:00 +0000 (11:38 +0100)
commit994334fa2a138703c8c13ee43e9902babfd00f24
tree3c6d960b06f2838dbeba840587856f5ffc8cc4f3
parent56cc83dfd35f77cbc3828dca9f80202a208d7f1c
auxdisplay: ht16k33: Fix refresh rate handling

[ Upstream commit e89b0a426721a8ca5971bc8d70aa5ea35c020f90 ]

Drop the call to msecs_to_jiffies(), as "HZ / fbdev->refresh_rate" is
already the number of jiffies to wait.

Fixes: 8992da44c6805d53 ("auxdisplay: ht16k33: Driver for LED controller")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/auxdisplay/ht16k33.c