nvmem: rockchip-otp: do not close common clk

When s otp and ns otp are accessed simultaneously,
do not close the common clk to avoid reading failures.

Change-Id: Ic488e2053e99bf3413ba709ad17cf2fc1f95ad0b
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
This commit is contained in:
Hisping Lin 2024-08-12 17:53:06 +08:00 committed by Tao Huang
commit 73d255eb3b

View file

@ -776,7 +776,7 @@ static const struct rockchip_data rk3528_data = {
};
static const char * const rk3562_otp_clocks[] = {
"usr", "sbpi", "apb", "arb", "phy",
"usr", "sbpi", "apb", "phy",
};
static const struct rockchip_data rk3562_data = {
@ -810,7 +810,7 @@ static const struct rockchip_data rk3576_data = {
};
static const char * const rk3588_otp_clocks[] = {
"otpc", "apb", "arb", "phy",
"otpc", "apb", "phy",
};
static const struct rockchip_data rk3588_data = {
@ -822,7 +822,7 @@ static const struct rockchip_data rk3588_data = {
};
static const char * const rv1106_otp_clocks[] = {
"usr", "sbpi", "apb", "phy", "arb", "pmc",
"usr", "sbpi", "apb", "phy",
};
static const struct rockchip_data rv1106_data = {