clk: agilex/stratix10: fix bypass representation
authorDinh Nguyen <dinguyen@kernel.org>
Fri, 11 Jun 2021 02:51:59 +0000 (21:51 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Jul 2021 14:55:44 +0000 (16:55 +0200)
commite92bd19246cc4d4fc9c811c60b91133f2ad18383
tree007244f2d2bc41b4bddff39b0d74483c051e6408
parent3093214a6aa450dbdf3d8bb4a28451677330808c
clk: agilex/stratix10: fix bypass representation

commit 6855ee839699bdabb4b16cf942557fd763bcb1fa upstream.

Each of these clocks(s2f_usr0/1, sdmmc_clk, gpio_db, emac_ptp,
emac0/1/2) have a bypass setting that can use the boot_clk. The
previous representation was not correct.

Fix the representation.

Fixes: 80c6b7a0894f ("clk: socfpga: agilex: add clock driver for the Agilex platform")
Cc: stable@vger.kernel.org
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Link: https://lore.kernel.org/r/20210611025201.118799-2-dinguyen@kernel.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/clk/socfpga/clk-agilex.c
drivers/clk/socfpga/clk-s10.c