powerpc: mpc83xx: Fix timer value calculation
authorJ. Neuschäfer <j.ne@posteo.net>
Fri, 20 Dec 2024 10:37:51 +0000 (11:37 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 30 Dec 2024 21:55:27 +0000 (15:55 -0600)
commitdeb26b6c29670dee743dfb54b8f69866339580bd
tree8eaf57e9a28c65cf63cda794e2745f1ffcdbe0e8
parent337bfdce5aa52637b482b182db959b9bb058f4b7
powerpc: mpc83xx: Fix timer value calculation

TBU and TBL are specified as two 32-bit registers that form a 64-bit
value, but the calculation only shifted TBU by 16 bits.

Fix this by actually shifting 32 bits.

Reviewed-by: Sinan Akman <sinan@writeme.com>
Signed-off-by: J. Neuschäfer <j.ne@posteo.net>
drivers/timer/mpc83xx_timer.c