ARM: OMAP1: clock: Fix UART rate reporting algorithm
authorJanusz Krzysztofik <jmkrzyszt@gmail.com>
Sun, 10 Apr 2022 13:07:54 +0000 (15:07 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 22 Apr 2022 09:08:56 +0000 (11:08 +0200)
commit338d5d476cde853dfd97378d20496baabc2ce3c0
tree9018e97b6800f58eb43905c5a3bd2f29283d35a4
parent34c86239b184aeedde8dee95e2ee09dde92045e6
ARM: OMAP1: clock: Fix UART rate reporting algorithm

Since its introduction to the mainline kernel, omap1_uart_recalc() helper
makes incorrect use of clk->enable_bit as a ready to use bitmap mask while
it only provides the bit number.  Fix it.

Signed-off-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-omap1/clock.c