From e7261bb40dc07c0debcc2d51dfa02258317dd53f Mon Sep 17 00:00:00 2001 From: Sunny Luo Date: Mon, 8 May 2023 16:42:03 +0800 Subject: [PATCH] spicc: fix xfer timed out error on g12 serials [1/1] PD#SWPL-122937 Problem: xfer timed out or set clk rate failed on g12 serials, because of SCLK parent clk missed Solution: Assign the async clk as the parent of SCLK Verify: t3 Change-Id: I02247d677c17705f4af413f74baf17625fbd8f41 Signed-off-by: Sunny Luo --- drivers/spi/spi-meson-spicc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/spi-meson-spicc.c b/drivers/spi/spi-meson-spicc.c index f935d96c1..5d8a80001 100644 --- a/drivers/spi/spi-meson-spicc.c +++ b/drivers/spi/spi-meson-spicc.c @@ -1732,6 +1732,7 @@ static struct meson_spicc_data meson_spicc_g12_data __initdata = { .has_linear_div = true, .has_oen = true, .has_async_clk = true, + .is_div_parent_async_clk = true, }; static struct meson_spicc_data meson_spicc_s5_data __initdata = {