From: Boris Brezillon <boris.brezillon@free-electrons.com>
To: Sushaanth Srirangapathi <sushaanth.s@ti.com>
Cc: David Woodhouse <dwmw2@infradead.org>,
Brian Norris <computersforpeace@gmail.com>,
linux-mtd@lists.infradead.org, linux-omap@vger.kernel.org,
Sekhar Nori <nsekhar@ti.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mtd: davinci-nand: disable subpage write for davinci-nand
Date: Tue, 3 Jan 2017 09:59:18 +0100 [thread overview]
Message-ID: <20170103095918.7da43be3@bbrezillon> (raw)
In-Reply-To: <1457428095-2801-1-git-send-email-sushaanth.s@ti.com>
Hi Sushaanth,
Sorry for the late reply, I'm dequeing old NAND related patches and
found this one.
Is this patch still needed?
On Tue, 8 Mar 2016 14:38:15 +0530
Sushaanth Srirangapathi <sushaanth.s@ti.com> wrote:
> Commit 28c015a9daabe4e ("mtd: davinci-nand: disable subpage write for
> keystone-nand") disables subpage write for Keystone SOCs due to hw
> issues.
>
> But subpage writes doesn't work even for DaVinci SOCs due to hw issues.
> So set NAND_NO_SUBPAGE_WRITE option for all devices compatible to
> this driver.
>
> I tested this patch using DA850 board.
>
> Signed-off-by: Sushaanth Srirangapathi <sushaanth.s@ti.com>
> ---
> drivers/mtd/nand/davinci_nand.c | 6 +-----
> 1 file changed, 1 insertion(+), 5 deletions(-)
>
> diff --git a/drivers/mtd/nand/davinci_nand.c b/drivers/mtd/nand/davinci_nand.c
> index 8cb821b..466439c 100644
> --- a/drivers/mtd/nand/davinci_nand.c
> +++ b/drivers/mtd/nand/davinci_nand.c
> @@ -601,11 +601,7 @@ static struct davinci_nand_pdata
> of_property_read_bool(pdev->dev.of_node,
> "ti,davinci-nand-use-bbt"))
> pdata->bbt_options = NAND_BBT_USE_FLASH;
> -
> - if (of_device_is_compatible(pdev->dev.of_node,
> - "ti,keystone-nand")) {
> - pdata->options |= NAND_NO_SUBPAGE_WRITE;
> - }
> + pdata->options |= NAND_NO_SUBPAGE_WRITE;
> }
>
> return dev_get_platdata(&pdev->dev);
next prev parent reply other threads:[~2017-01-03 8:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-08 9:08 [PATCH] mtd: davinci-nand: disable subpage write for davinci-nand Sushaanth Srirangapathi
2017-01-03 8:59 ` Boris Brezillon [this message]
2017-01-03 11:37 ` Sekhar Nori
2017-01-03 13:13 ` Boris Brezillon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170103095918.7da43be3@bbrezillon \
--to=boris.brezillon@free-electrons.com \
--cc=computersforpeace@gmail.com \
--cc=dwmw2@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=nsekhar@ti.com \
--cc=sushaanth.s@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox