]> git.itanic.dy.fi Git - linux-stable/commit
MIPS: Fix r4k clockevents registration
authorHuacai Chen <chenhc@lemote.com>
Thu, 21 Jul 2016 06:27:49 +0000 (14:27 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Aug 2016 16:11:03 +0000 (18:11 +0200)
commit7b0e604267af578f60ad4bccbc22af3cf9a0b365
treecb229c429969d27643b2763330301218a36bec95
parentd2be3b4e278fad162cad4c6a46ae7cf709244464
MIPS: Fix r4k clockevents registration

commit 6dabf2b7a597a9613f0b8a2fcbe01e2a0a05c896 upstream.

CPUFreq need min_delta_ticks/max_delta_ticks to be initialized, and
this can be done by clockevents_config_and_register().

Signed-off-by: Heiher <r@hev.cc>
Signed-off-by: Huacai Chen <chenhc@lemote.com>
Cc: John Crispin <john@phrozen.org>
Cc: Steven J . Hill <Steven.Hill@imgtec.com>
Cc: Fuxin Zhang <zhangfx@lemote.com>
Cc: Zhangjin Wu <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/13817/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/kernel/cevt-r4k.c