[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1353247498.1592.2.camel@kyv>
Date: Sun, 18 Nov 2012 16:04:58 +0200
From: Artem Bityutskiy <dedekind1@...il.com>
To: Huang Shijie <b32955@...escale.com>
Cc: dwmw2@...radead.org, computersforpeace@...il.com,
linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mtd: de-select the chip when it is not used
On Fri, 2012-11-09 at 16:23 +0800, Huang Shijie wrote:
> When we scan several nand chips with nand_scan(), such as
> .......................
> nand_scan(*, 2);
> .......................
>
> In nand_scan_ident(), the maxchips will become 2, so the current code
> will select chip 1 to read the device ID. But the chip 0 is still
> selected in this case.
>
> To make the logic clear, we'd better de-select the chip when it is not used.
>
> This patch de-select the nand chip if it is not used any more.
>
> Signed-off-by: Huang Shijie <b32955@...escale.com>
Pushed to l2-mtd.git, thanks!
--
Best Regards,
Artem Bityutskiy
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists