summaryrefslogtreecommitdiff
path: root/arch/mips/alchemy/common/gpiolib.c
diff options
context:
space:
mode:
authorManuel Lauss <manuel.lauss@gmail.com>2012-12-17 06:14:08 (GMT)
committerRalf Baechle <ralf@linux-mips.org>2012-12-27 15:27:35 (GMT)
commit8e0d7372f595c254d83316fba1530164010f7b33 (patch)
tree7174fa3805150483ba7c77658769a3194a74d5b2 /arch/mips/alchemy/common/gpiolib.c
parenta49f0d1ea3ec94fc7cf33a7c36a16343b74bd565 (diff)
downloadlinux-fsl-qoriq-8e0d7372f595c254d83316fba1530164010f7b33.tar.xz
MIPS: Alchemy: Make 32kHz and r4k timer coexist peacefully
Now that the r4k timer is registered no matter what, bump the rating of the Alchemy 32kHz timer so that it gets used when it is working, and fall back on the r4k when it isn't. This fixes a timer-related hang on platform with a working 32kHz timer (the better rated c0 timer stops while executing 'wait' leading to (almost) eternal sleep) and an oops on boot on platforms without a working 32kHz timer (due to double registration of the r4k timer). Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com> Cc: Linux-MIPS <linux-mips@linux-mips.org> Patchwork: https://patchwork.linux-mips.org/patch/4728/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/alchemy/common/gpiolib.c')
0 files changed, 0 insertions, 0 deletions