mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
cnss2: Add daemon_support dts option for QCA6390
For platforms where cnss_daemon is not needed, number of qmi clients will be 2 and WLAN FW will then wait for cnss_daemon to be connected and CNSS2 will timeout waiting for FW ready. Thus add a dts option to enable daemon_support. Change-Id: I94fc2cc17dfc11c2bc59751af05cc55a572a5d4f Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>
This commit is contained in:
parent
3a4e5978ef
commit
3432028e0b
1 changed files with 4 additions and 0 deletions
|
|
@ -2063,6 +2063,10 @@ static void cnss_misc_deinit(struct cnss_plat_data *plat_priv)
|
|||
static void cnss_init_control_params(struct cnss_plat_data *plat_priv)
|
||||
{
|
||||
plat_priv->ctrl_params.quirks = CNSS_QUIRKS_DEFAULT;
|
||||
if (of_property_read_bool(plat_priv->plat_dev->dev.of_node,
|
||||
"cnss-daemon-support"))
|
||||
plat_priv->ctrl_params.quirks |= BIT(ENABLE_DAEMON_SUPPORT);
|
||||
|
||||
plat_priv->ctrl_params.mhi_timeout = CNSS_MHI_TIMEOUT_DEFAULT;
|
||||
plat_priv->ctrl_params.mhi_m2_timeout = CNSS_MHI_M2_TIMEOUT_DEFAULT;
|
||||
plat_priv->ctrl_params.qmi_timeout = CNSS_QMI_TIMEOUT_DEFAULT;
|
||||
|
|
|
|||
Loading…
Reference in a new issue