提交 6af1a073 编写于 作者: M Murali Karicheri 提交者: Santosh Shilimkar

soc: ti: use request_firmware_direct() as acc firmware is optional

When firmware image for PDSP firmware is absent in the file system
the kernel boot with ramfs/nfs is stuck for 60 seconds being the
the default timeout. request_firmware_direct() is to take care of
such optional firmware loading and hence replace the call in the
driver with this API.
Signed-off-by: NMurali Karicheri <m-karicheri2@ti.com>
Signed-off-by: NSantosh Shilimkar <ssantosh@kernel.org>
上级 1ec21837
...@@ -1519,9 +1519,9 @@ static int knav_queue_load_pdsp(struct knav_device *kdev, ...@@ -1519,9 +1519,9 @@ static int knav_queue_load_pdsp(struct knav_device *kdev,
for (i = 0; i < ARRAY_SIZE(knav_acc_firmwares); i++) { for (i = 0; i < ARRAY_SIZE(knav_acc_firmwares); i++) {
if (knav_acc_firmwares[i]) { if (knav_acc_firmwares[i]) {
ret = request_firmware(&fw, ret = request_firmware_direct(&fw,
knav_acc_firmwares[i], knav_acc_firmwares[i],
kdev->dev); kdev->dev);
if (!ret) { if (!ret) {
found = true; found = true;
break; break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册