From patchwork Sun Sep 16 23:45:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 10601935 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A0C3E13AD for ; Sun, 16 Sep 2018 23:46:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 53C3129340 for ; Sun, 16 Sep 2018 23:46:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 47E662934C; Sun, 16 Sep 2018 23:46:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A8B5829340 for ; Sun, 16 Sep 2018 23:46:57 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 67A7F267892; Mon, 17 Sep 2018 01:46:15 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 266D2267819; Mon, 17 Sep 2018 01:46:06 +0200 (CEST) Received: from mail-io1-f67.google.com (mail-io1-f67.google.com [209.85.166.67]) by alsa0.perex.cz (Postfix) with ESMTP id 3732A2677FC for ; Mon, 17 Sep 2018 01:46:04 +0200 (CEST) Received: by mail-io1-f67.google.com with SMTP id 75-v6so10027081iou.11 for ; Sun, 16 Sep 2018 16:46:04 -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; bh=PeH6Ipil7CJB8tr8f+7fACMPhexFa7TfJUCZcP2TPv4=; b=JhtiWx6z2EAkugIUVFF3mdBXCn47MKdK7pJ+zNcau76PFl/LzR0YlIKmSZmiDcAJTZ BegA6txQXHCF1UTovMDhfGyZ+tiFSeGRljIUKH9RrmORZjqHZsIcbxv0kjwF8MySqIwY vPD3xPTir7pagSO/M6yhSYdydYdK/XiWjaFSA= 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; bh=PeH6Ipil7CJB8tr8f+7fACMPhexFa7TfJUCZcP2TPv4=; b=rvh8O1SJS9E7289S1tJvHvxkJa7S8kIbQx/963bNka5O6hNg6Cb46HhpyS7T8Zx99I nmCzJePkjXl6ckqocddxDlIFrs6c70CZktIzN9nzQ90bvto8FiVNbP51oWC4qxo+ICn3 0HLQ8q7Vg6bDhsY4fiR2Vqqh0p7Ie2POeSHnjHlJvQqw7uLVQy6ODCb0z0D7hznkY75r 4elFA7fK4cLbJvi8lJgqO8mKVRuPsuBwBxhNwKFe+fKWeYk4ZcXVO1gK9Vs3Cwma8GV6 Mbpsay7S/LDNbKDO7f1Mzeo05RfELYr6G7W5GCAoQL3KSOowQI7PrAWFY7+aJzcbOmwq wrHw== X-Gm-Message-State: APzg51Bjk8cfwL8sh7Hq0RFPkq/ENQ2B90X2mrtRbGnnn71HPcyhfUDB uaiP84PR9un7d/QBExvikKdb64saf9Y= X-Google-Smtp-Source: ANB0VdaGxTTviRMAbXFeiq8yLxllNIcUn/MzVLJwC87rBav5or4sbxiP7LDZg8gv3seMP0f3/SCdFA== X-Received: by 2002:a6b:1706:: with SMTP id 6-v6mr19948407iox.58.1537141563501; Sun, 16 Sep 2018 16:46:03 -0700 (PDT) Received: from localhost.localdomain ([209.82.80.116]) by smtp.gmail.com with ESMTPSA id a11-v6sm4495177ioc.63.2018.09.16.16.46.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 16 Sep 2018 16:46:03 -0700 (PDT) From: srinivas.kandagatla@linaro.org To: gregkh@linuxfoundation.org Date: Sun, 16 Sep 2018 16:45:45 -0700 Message-Id: <20180916234546.29661-7-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20180916234546.29661-1-srinivas.kandagatla@linaro.org> References: <20180916234546.29661-1-srinivas.kandagatla@linaro.org> Cc: alsa-devel@alsa-project.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, vkoul@kernel.org, broonie@kernel.org, Srinivas Kandagatla Subject: [alsa-devel] [PATCH 6/7] slimbus: ngd: return proper error code instead of zero X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP From: Srinivas Kandagatla It looks like there is a typo in probe return. Fix it. Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/qcom-ngd-ctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/slimbus/qcom-ngd-ctrl.c b/drivers/slimbus/qcom-ngd-ctrl.c index 0241373..f48a06e 100644 --- a/drivers/slimbus/qcom-ngd-ctrl.c +++ b/drivers/slimbus/qcom-ngd-ctrl.c @@ -1396,7 +1396,7 @@ static int qcom_slim_ngd_probe(struct platform_device *pdev) if (ctrl->mwq) destroy_workqueue(ctrl->mwq); - return 0; + return ret; } static int qcom_slim_ngd_ctrl_probe(struct platform_device *pdev)