Received: by 10.192.165.148 with SMTP id m20csp1778624imm; Thu, 3 May 2018 05:23:43 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrO+/i43HYzYiS913BkhIrHM6GV0hJFfdzd5skg4L1UL3AQ1+XGBybT9EYibXUxCj3zmtOe X-Received: by 2002:a63:6406:: with SMTP id y6-v6mr19128171pgb.205.1525350223250; Thu, 03 May 2018 05:23:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525350223; cv=none; d=google.com; s=arc-20160816; b=jR8zLbL7y0QxpT7JWkRfCxc/Le2WH0poXlgguC3aNCYaMBGF01AIfdLENbXPLV1nFk J84kJ7DHsp18TakDZJMaNRUeN5m77xxjO+eAnUq5BtD76SwxnJ07VBh/6O4ZxtK5Im1F UFpXPAilwsC/bnm2Bhqg7a3ByosiLRIgZyRazwVzWUifLRq8sMEPx5GOTCN2dCMhbV6e QqLeLiKFrxoLVgC0TNDvEUhUbQcMGQiz2+KqBHgo/T6hKhnM6upfxNFRddJ+RPT0aT0a mD0Qhrd085nVknYGsz4uHrSbI/Z4q9pAp7VLY+RxkfMdb/AqoV54JEDnmwcD7krhqlZP 52zA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=0XRl2wLc0thExfFOIr8yYhOR1O+uJf0lZcdgTKsTRvk=; b=apO0RXY90iHpcoysW1AhwHM9tZt0863SBkVwof1Gbom7/fNVHXeismaN4oBALAqK+5 qzzxcNsDcggM7wbZ6L/dgSWNy/cVrbAGaA24F5ZUEKmxxmL+iALW/5CCMxLWKHc5wume aBp756WXthxuVBMNC1IDK6JZLevXmp80oNGEm+J6JMoi190Mu12Y1J6ks19L1Avmofe8 AsCgm8Xo7vShO0zduf6JG8LRM2piJtLS8oTsH6vQASuTjgRmIMVUzOfnIO4dwTReuyat t9wP5zd8qIQ2Dphkjg4qSCGM0zk69cwnRUw1teQWptRRpjqqkT5FqoLTNefHOiC48iQc rkqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=BLrYTpPr; dkim=pass header.i=@codeaurora.org header.s=default header.b=Y4CT+YFR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p80si3619213pfi.345.2018.05.03.05.23.29; Thu, 03 May 2018 05:23:43 -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; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=BLrYTpPr; dkim=pass header.i=@codeaurora.org header.s=default header.b=Y4CT+YFR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751576AbeECMWt (ORCPT + 99 others); Thu, 3 May 2018 08:22:49 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:42620 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752001AbeECMVk (ORCPT ); Thu, 3 May 2018 08:21:40 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 3566060C66; Thu, 3 May 2018 12:21:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1525350100; bh=aLrpuIDhPtDc3uizcGYopkFZjMEUZZOnBo3/x7b88vo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BLrYTpPrNgtKDMdbbjDsBm8BCktIKudl4T58KRZ8iqBL5FHkKdG9LyuRnSPhIRnL8 hBUjW9QoO4lmCbiwkp0sV0YSbRsCaqyylK8FQITeXJGc90ryGeA1K6ZF3mU0mGE5z7 Wghi34BtdITmKNNf49sLLHLL87We4rSSO8gMScSE= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from absahu-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: absahu@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 72DA160C55; Thu, 3 May 2018 12:21:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1525350099; bh=aLrpuIDhPtDc3uizcGYopkFZjMEUZZOnBo3/x7b88vo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Y4CT+YFRovbuUW/BIv9bF849LOy2tGIQo3pdvjGKAUw14EcFF+eAoF3gXo+FthKPn gUar5IHJZH3mHieshaniap2ALmyb5rgTjbz+ZqEwhwMEErBa/mk/SfOUa8IsBvAs8z m8lta7C4mrsitwa5p9kcp0YezoptJqqetiviZ7Ws= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 72DA160C55 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=absahu@codeaurora.org From: Abhishek Sahu To: Boris Brezillon Cc: David Woodhouse , Brian Norris , Marek Vasut , Richard Weinberger , Miquel Raynal , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, Andy Gross , Archit Taneja , Abhishek Sahu Subject: [PATCH v2 10/14] mtd: rawnand: qcom: fix return value for raw page read Date: Thu, 3 May 2018 17:50:37 +0530 Message-Id: <1525350041-22995-11-git-send-email-absahu@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1525350041-22995-1-git-send-email-absahu@codeaurora.org> References: <1525350041-22995-1-git-send-email-absahu@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Currently zero is being returned for all raw page read so fix the same. Signed-off-by: Abhishek Sahu --- * Changes from v1: NEW CHANGE drivers/mtd/nand/raw/qcom_nandc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/raw/qcom_nandc.c b/drivers/mtd/nand/raw/qcom_nandc.c index f85d8ab..17b7f3af 100644 --- a/drivers/mtd/nand/raw/qcom_nandc.c +++ b/drivers/mtd/nand/raw/qcom_nandc.c @@ -1900,7 +1900,7 @@ static int qcom_nandc_read_page_raw(struct mtd_info *mtd, free_descs(nandc); - return 0; + return ret; } /* implements ecc->read_oob() */ -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation