Merge "ath10k: Return failure if fw ready is not arrived"
This commit is contained in:
commit
2c441278bd
1 changed files with 4 additions and 0 deletions
|
@ -1365,6 +1365,10 @@ static int __init ath10k_snoc_init(void)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
if (!icnss_is_fw_ready()) {
|
||||||
|
pr_err("failed to get fw ready indication\n");
|
||||||
|
return -EAGAIN;
|
||||||
|
}
|
||||||
ret = platform_driver_register(&ath10k_snoc_driver);
|
ret = platform_driver_register(&ath10k_snoc_driver);
|
||||||
if (ret)
|
if (ret)
|
||||||
pr_err("failed to register ath10k snoc driver: %d\n",
|
pr_err("failed to register ath10k snoc driver: %d\n",
|
||||||
|
|
Loading…
Add table
Reference in a new issue