Re: [Qemu-devel] [PATCH] exynos4210/mct: Avoid infinite loop on non incremental timers

2012-12-03 Thread Evgeny Voevodin
On 12/01/2012 09:08 PM, Jean-Christophe DUBOIS wrote: Check for a 0 "distance" value to avoid infinite loop when the expired FCR timer was not programed with auto-increment. With this change the behavior is coherent with the same type of code in the exynos4210_gfrc_restart() function in the same

[Qemu-devel] [PATCH] exynos4210/mct: Avoid infinite loop on non incremental timers

2012-12-01 Thread Jean-Christophe DUBOIS
Check for a 0 "distance" value to avoid infinite loop when the expired FCR timer was not programed with auto-increment. With this change the behavior is coherent with the same type of code in the exynos4210_gfrc_restart() function in the same file. Linux seems to mostly use this timer with auto-