mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 14:43:16 +00:00
auxdisplay: ht16k33: Fix refresh rate handling
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>
This commit is contained in:
parent
f12b457c6b
commit
e89b0a4267
@ -117,8 +117,7 @@ static void ht16k33_fb_queue(struct ht16k33_priv *priv)
|
|||||||
{
|
{
|
||||||
struct ht16k33_fbdev *fbdev = &priv->fbdev;
|
struct ht16k33_fbdev *fbdev = &priv->fbdev;
|
||||||
|
|
||||||
schedule_delayed_work(&fbdev->work,
|
schedule_delayed_work(&fbdev->work, HZ / fbdev->refresh_rate);
|
||||||
msecs_to_jiffies(HZ / fbdev->refresh_rate));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user