From patchwork Wed May 5 21:37:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 431222 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp868286jao; Wed, 5 May 2021 14:39:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWwKFr4Ikdo74xj7Dj0OWFeI5ZwdoTa8/kAcqizkDwkvfLHrLf9gCKU00tdKiK2Qd8MWDj X-Received: by 2002:a17:902:e04f:b029:eb:66b0:6d08 with SMTP id x15-20020a170902e04fb02900eb66b06d08mr1191376plx.50.1620250782193; Wed, 05 May 2021 14:39:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620250782; cv=none; d=google.com; s=arc-20160816; b=PESmTMfDGjJ6U6eGFQqgVU4B5zgpnCA/WHIMxgpuOuBo30ZuUckcfpEqbWwg3/Y3ss zk4YcyHLGKiA1qXjUCoYgQ3Y1YePgl0XQIVnvr0YebpABa/oT9SM1Jp+banq7KGBKlWo Q2y2yC+n2W5wuopRAKmzw9DrZenMF19z4J5/vOXSF1Whya5R01bkrjHwWDiKz/t+qThR zdzv6G+HEuxlTJcFhylkpNLBn2doHnGQ1xWOKOXeGR4CKTGqIAI1kaHd7mdGHOCbD3ud TI6ei/4hYmNZDfnMfXkqwNE9UxUEganj7mRdexS14BZgCR1OXvITl1NbsuC3SaT6dnPO Ohlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=1sSf0qLJyLVYx1RDRkbOVw7ymMGOYYyNpXZ6BpinJ5I=; b=SWJuNqc7ICTpy/V6bgkn2TlAVGyJK5+wa7OtbDQHv4120VzeoAFUxt6ETrR59t61LX 2luYPx/GGbPHX9X3N/ydZeoAAQPFw3h5EXDvF8IHKvj/as0eKslPx7vMuN5wdMd6ny6t PKwsM+E8BT16qjV6DgOWdYUCdXlkhOCjh9lOb1/UsLyyH+6s+tSjIPGKFAv8+rxe1dDT TG+15pdcsU9Lkv8/wfL2P+Npl0VeIA4PJ50Qaz7rfYrWEoVajHH/TBeSkvPd9A7ZGKyh 11Jw5mZ1M6+BQ1XBUR6zjiEa5Vns7tFOLaRDVTK9zbdvfrJZFbEXSXyGdKVvhoZIEDzh Pq4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vEajL1Eb; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 62si370974plb.203.2021.05.05.14.39.41; Wed, 05 May 2021 14:39:42 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vEajL1Eb; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234707AbhEEVke (ORCPT + 6 others); Wed, 5 May 2021 17:40:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234246AbhEEVkS (ORCPT ); Wed, 5 May 2021 17:40:18 -0400 Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4FEFC06138E for ; Wed, 5 May 2021 14:39:16 -0700 (PDT) Received: by mail-pg1-x531.google.com with SMTP id i14so2819399pgk.5 for ; Wed, 05 May 2021 14:39:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1sSf0qLJyLVYx1RDRkbOVw7ymMGOYYyNpXZ6BpinJ5I=; b=vEajL1EbcQ06XtvJ1SFAVyQg9rt87G7DnGNRmGmmwhV05ov7JKp/MGTvqT92eSrLdM qyberW4utabHgRDGWO631F6nZ0SEZKv7KF3Yd/QDYIeMEVBNJ01qpFMKdr8ENCT7BJWr r+5X6hyAWC3tDk+GZHLuNRyuo95TBxi3QboWSx0F0XEkUkjd7tRG0g1L0H+kJRobhi/B G5pxnV3loZcfLVGecyrCAHU2Aapi0lIXPzxZhPpSLlGuQJRI5k0jOviph5WhWjhsQpGu oQIU+a3l32fuiVZwwSZUZUEK7d8ib6vZcCQFqV5LgmwDcOwF+iOBpQ9NNdPH4Ocx3ojK rF1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1sSf0qLJyLVYx1RDRkbOVw7ymMGOYYyNpXZ6BpinJ5I=; b=p9eQDLCxacuTLKP6OnQDzgoP5F61iIB+bktuRi75pml62pTK7VVpjZuvfV/RYCmWIT TdcK53roTehSn+S5gylQJXYK1Ft1iUsL5BtxxB5J9/0A3rk1gepy6kQAFkJxv4b6bmHp rzN4p24Wk8yxgWPpwrwo/BbYPUouJGdeWSYWHIkDo4D9yQhlP4wrLNgiNCSiOxJNSQk4 6yA3W4J5IJUgERIbcbhER4aqhcdCPnHudT/H4p9QaF+NQnKGUwCkHsO5d49txCzJW8v0 xbdyKEcSwNeIo98GMIKfpfDOQZ9XChgtm6Vv2xyy37XwKv3p3pkr18BTeSUhPerlLkEQ DGpg== X-Gm-Message-State: AOAM532j9n+VmXZRljEv2e1m6lwmEZdTfA7ho5IpuieYGlIZ7AisGEVw Ro1YSP2iQUMD06BjBKLVwrxOOQ== X-Received: by 2002:a63:e405:: with SMTP id a5mr891379pgi.89.1620250756407; Wed, 05 May 2021 14:39:16 -0700 (PDT) Received: from localhost.localdomain.name ([223.235.141.68]) by smtp.gmail.com with ESMTPSA id z26sm167031pfq.86.2021.05.05.14.39.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 May 2021 14:39:16 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org Cc: bhupesh.sharma@linaro.org, Thara Gopinath , Bjorn Andersson , Rob Herring , Andy Gross , Herbert Xu , "David S . Miller" , Stephen Boyd , Michael Turquette , Vinod Koul , dmaengine@vger.kernel.org, linux-clk@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, bhupesh.linux@gmail.com Subject: [PATCH v2 12/17] crypto: qce: Print a failure msg in case probe() fails Date: Thu, 6 May 2021 03:07:26 +0530 Message-Id: <20210505213731.538612-13-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210505213731.538612-1-bhupesh.sharma@linaro.org> References: <20210505213731.538612-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Print a failure message (dev_err) in case the qcom qce crypto driver probe() fails. Cc: Thara Gopinath Cc: Bjorn Andersson Cc: Rob Herring Cc: Andy Gross Cc: Herbert Xu Cc: David S. Miller Cc: Stephen Boyd Cc: Michael Turquette Cc: Vinod Koul Cc: dmaengine@vger.kernel.org Cc: linux-clk@vger.kernel.org Cc: linux-crypto@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: bhupesh.linux@gmail.com Signed-off-by: Bhupesh Sharma --- drivers/crypto/qce/core.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.30.2 diff --git a/drivers/crypto/qce/core.c b/drivers/crypto/qce/core.c index 293d0bfe3aab..bae08fdfc44f 100644 --- a/drivers/crypto/qce/core.c +++ b/drivers/crypto/qce/core.c @@ -301,6 +301,8 @@ static int qce_crypto_probe(struct platform_device *pdev) icc_set_bw(qce->mem_path, 0, 0); err_mem_path_put: icc_put(qce->mem_path); + + dev_err(dev, "%s failed : %d\n", __func__, ret); return ret; }