dsp: Set is_initial_boot before calling child node
Execute gpr driver probe before exiting spf core probe Change-Id: I983b5e093e9c7d0204e56bdec3d3a590343fb5d3 Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
/* Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
|
/* Copyright (c) 2019-2021, The Linux Foundation. All rights reserved.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License version 2 and
|
* it under the terms of the GNU General Public License version 2 and
|
||||||
@@ -356,13 +356,13 @@ static int spf_core_platform_driver_probe(struct platform_device *pdev)
|
|||||||
|
|
||||||
INIT_WORK(&spf_core_priv->add_chld_dev_work, spf_core_add_child_devices);
|
INIT_WORK(&spf_core_priv->add_chld_dev_work, spf_core_add_child_devices);
|
||||||
|
|
||||||
ret = gpr_driver_register(&qcom_spf_core_driver);
|
spf_core_priv->is_initial_boot = true;
|
||||||
if (ret) {
|
ret = gpr_driver_register(&qcom_spf_core_driver);
|
||||||
|
if (ret) {
|
||||||
pr_err("%s: gpr driver register failed = %d\n",
|
pr_err("%s: gpr driver register failed = %d\n",
|
||||||
__func__, ret);
|
__func__, ret);
|
||||||
ret = 0;
|
ret = 0;
|
||||||
}
|
}
|
||||||
spf_core_priv->is_initial_boot = true;
|
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
ret = snd_event_client_register(&pdev->dev, &gpr_ssr_ops, NULL);
|
ret = snd_event_client_register(&pdev->dev, &gpr_ssr_ops, NULL);
|
||||||
|
Reference in New Issue
Block a user