From: Manuel Lauss Date: Mon, 17 Dec 2012 06:14:08 +0000 (+0000) Subject: MIPS: Alchemy: Make 32kHz and r4k timer coexist peacefully X-Git-Tag: v3.8-rc3~15^2~10 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e0d7372f595c254d83316fba1530164010f7b33;p=pandora-kernel.git 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 Cc: Linux-MIPS Patchwork: https://patchwork.linux-mips.org/patch/4728/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed