mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
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:
@@ -776,7 +776,7 @@ static const struct rockchip_data rk3528_data = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static const char * const rk3562_otp_clocks[] = {
|
static const char * const rk3562_otp_clocks[] = {
|
||||||
"usr", "sbpi", "apb", "arb", "phy",
|
"usr", "sbpi", "apb", "phy",
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct rockchip_data rk3562_data = {
|
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[] = {
|
static const char * const rk3588_otp_clocks[] = {
|
||||||
"otpc", "apb", "arb", "phy",
|
"otpc", "apb", "phy",
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct rockchip_data rk3588_data = {
|
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[] = {
|
static const char * const rv1106_otp_clocks[] = {
|
||||||
"usr", "sbpi", "apb", "phy", "arb", "pmc",
|
"usr", "sbpi", "apb", "phy",
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct rockchip_data rv1106_data = {
|
static const struct rockchip_data rv1106_data = {
|
||||||
|
|||||||
Reference in New Issue
Block a user