]> git.baikalelectronics.ru Git - kernel.git/commit
clk: renesas: r9a06g032: Fix UART clkgrp bitsel
authorRalph Siemsen <ralph.siemsen@linaro.org>
Wed, 18 May 2022 18:25:27 +0000 (14:25 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Aug 2022 12:23:38 +0000 (14:23 +0200)
commit039ecfc815c7e646f4dc69aeef5db50b878f12e1
tree1fbfe48da4aa6432d0011de864a25b76564f3592
parent4f2f962214de5ebbebb835388cbfce77448b9a1b
clk: renesas: r9a06g032: Fix UART clkgrp bitsel

[ Upstream commit 7f09bf779b976fae46d343e6bed1fd6a841fd7b6 ]

There are two UART clock groups, each having a mux to select its
upstream clock source. The register/bit definitions for accessing these
two muxes appear to have been reversed since introduction. Correct them
so as to match the hardware manual.

Fixes: 3e94d2dd1bd0 ("clk: renesas: Renesas R9A06G032 clock driver")
Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Reviewed-by: Phil Edworthy <phil.edworthy@renesas.com>
Link: https://lore.kernel.org/r/20220518182527.1693156-1-ralph.siemsen@linaro.org
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/renesas/r9a06g032-clocks.c