mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
soc: qcom: Add support to enable eud if enabled in xbl
If eud driver is enabled in xbl, there was a explicit need to enable eud from hlos side also. This change enables eud if eud_mode_manager2 register is set, and it keeps the check after tcsr register property check. Change-Id: I4f99d2fddb36f196514296302c67b75e73545632 Signed-off-by: Komal Bajaj <kbajaj@codeaurora.org> Signed-off-by: Mukesh Ojha <mojha@codeaurora.org>
This commit is contained in:
parent
12ac024c7c
commit
7f9b17b1e7
1 changed files with 3 additions and 3 deletions
|
|
@ -638,9 +638,6 @@ static int msm_eud_probe(struct platform_device *pdev)
|
|||
}
|
||||
|
||||
chip->eud_mode_mgr2_phys_base = res->start;
|
||||
|
||||
if (check_eud_mode_mgr2(chip))
|
||||
enable = 1;
|
||||
}
|
||||
|
||||
chip->need_phy_clk_vote = of_property_read_bool(pdev->dev.of_node,
|
||||
|
|
@ -709,6 +706,9 @@ static int msm_eud_probe(struct platform_device *pdev)
|
|||
}
|
||||
}
|
||||
|
||||
if (chip->secure_eud_en && check_eud_mode_mgr2(chip))
|
||||
enable = 1;
|
||||
|
||||
ret = uart_add_one_port(&eud_uart_driver, port);
|
||||
if (ret) {
|
||||
dev_err(chip->dev, "failed to add uart port!\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue