From patchwork Thu Oct 15 18:59:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Murali Karicheri X-Patchwork-Id: 55062 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by patches.linaro.org (Postfix) with ESMTPS id AF05D2301F for ; Thu, 15 Oct 2015 18:59:38 +0000 (UTC) Received: by lbbyh1 with SMTP id yh1sf8778466lbb.0 for ; Thu, 15 Oct 2015 11:59:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :mime-version:content-type:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=MRe3a3qL3qQKEYGow/uBlYJGVF4ybYWbMkIlYQWh/Es=; b=W2hfCKywGzOwkg9tjhpAriJrboiF1Y8b/l4RxCtzGi7+s/AW1pXdKEudiV1gBSdnf+ HDlocQ9/x51vEuLKdgfExFcg39F6Otck4eRwfHL7vJpRfzJDRtQdmKP0qTczLMHlVw/f GRkhSb1LYKhJ2CjsOqXjYmLkLxILck/JbYbgoag338HjINjLX6ETXZ4nMorpbVIDrlxm t6SL+L5UiNDC701LlTKffzegyQP+yOYgfSnx5RwEhCyCY0mhsi42F9Hf3sLLuHvue6lX SlixmHZHxLR+gb8dUF8sD4MbkFKPk78BT/gy1Vsg3GAxPHGZjLYa+vqLfCuo3cvGF6Ay bWUA== X-Gm-Message-State: ALoCoQnb+1/NiBfGZBi9e/u4hk3aKI0jRHyaiZ7tM/e1c4qmhgKj4xitLmaPohqvye/dd+tn8MgC X-Received: by 10.181.29.103 with SMTP id jv7mr102113wid.0.1444935577164; Thu, 15 Oct 2015 11:59:37 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.142.3 with SMTP id q3ls199394lfd.64.gmail; Thu, 15 Oct 2015 11:59:36 -0700 (PDT) X-Received: by 10.112.129.202 with SMTP id ny10mr5479963lbb.112.1444935576973; Thu, 15 Oct 2015 11:59:36 -0700 (PDT) Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com. [209.85.217.175]) by mx.google.com with ESMTPS id jn7si10072304lbc.125.2015.10.15.11.59.36 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Oct 2015 11:59:36 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.175 as permitted sender) client-ip=209.85.217.175; Received: by lbbwb3 with SMTP id wb3so19428804lbb.1 for ; Thu, 15 Oct 2015 11:59:36 -0700 (PDT) X-Received: by 10.112.17.34 with SMTP id l2mr5580114lbd.117.1444935576653; Thu, 15 Oct 2015 11:59:36 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp805019lbq; Thu, 15 Oct 2015 11:59:35 -0700 (PDT) X-Received: by 10.68.196.161 with SMTP id in1mr11627390pbc.127.1444935575590; Thu, 15 Oct 2015 11:59:35 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id sd5si23570243pbc.26.2015.10.15.11.59.35; Thu, 15 Oct 2015 11:59:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753016AbbJOS7d (ORCPT + 30 others); Thu, 15 Oct 2015 14:59:33 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:34540 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751517AbbJOS7c (ORCPT ); Thu, 15 Oct 2015 14:59:32 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id t9FIx815010440; Thu, 15 Oct 2015 13:59:08 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id t9FIx8MX007435; Thu, 15 Oct 2015 13:59:08 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.224.2; Thu, 15 Oct 2015 13:59:08 -0500 Received: from ula0868495.am.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id t9FIx7bk008818; Thu, 15 Oct 2015 13:59:07 -0500 From: Murali Karicheri To: , , Subject: [PATCH linux-next] soc: ti: use request_firmware_direct() as acc firmware is optional Date: Thu, 15 Oct 2015 14:59:13 -0400 Message-ID: <1444935553-19760-1-git-send-email-m-karicheri2@ti.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: m-karicheri2@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.175 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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: Murali Karicheri --- drivers/soc/ti/knav_qmss_queue.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/soc/ti/knav_qmss_queue.c b/drivers/soc/ti/knav_qmss_queue.c index f3a0b6a..89789e2 100644 --- a/drivers/soc/ti/knav_qmss_queue.c +++ b/drivers/soc/ti/knav_qmss_queue.c @@ -1519,9 +1519,9 @@ static int knav_queue_load_pdsp(struct knav_device *kdev, for (i = 0; i < ARRAY_SIZE(knav_acc_firmwares); i++) { if (knav_acc_firmwares[i]) { - ret = request_firmware(&fw, - knav_acc_firmwares[i], - kdev->dev); + ret = request_firmware_direct(&fw, + knav_acc_firmwares[i], + kdev->dev); if (!ret) { found = true; break;