clocksource/drivers/arm_global_timer: Fix maximum prescaler value
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 18 Feb 2024 17:41:37 +0000 (18:41 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Sun, 18 Feb 2024 23:48:54 +0000 (00:48 +0100)
commitb34b9547cee41575a4fddf390f615570759dc999
treec0cdd0b89e86e52bbf96877cecb1e940e5111db5
parentb67686e971b06eee1be363b89863bd1217f65190
clocksource/drivers/arm_global_timer: Fix maximum prescaler value

The prescaler in the "Global Timer Control Register bit assignments" is
documented to use bits [15:8], which means that the maximum prescaler
register value is 0xff.

Fixes: 171b45a4a70e ("clocksource/drivers/arm_global_timer: Implement rate compensation whenever source clock changes")
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20240218174138.1942418-2-martin.blumenstingl@googlemail.com
drivers/clocksource/arm_global_timer.c