[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1354272933.30168.82.camel@sauron.fi.intel.com>
Date: Fri, 30 Nov 2012 12:55:33 +0200
From: Artem Bityutskiy <dedekind1@...il.com>
To: Huang Shijie <b32955@...escale.com>
Cc: dwmw2@...radead.org, linux-mtd@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] mtd: remove the de-select chip code in
nand_release_device()
On Mon, 2012-11-19 at 14:43 +0800, Huang Shijie wrote:
> The nand_get_device() does not select the chip, but nand_release_device()
> does de-select the chip. It is really strange.
>
> With the current code, nand_sync() will de-select the chip, even if the chip
> has never been selected.
>
> To make the balance of select/de-select chip, it's better to remove the
> de-select chip code in nand_release_device() which makes the code more
> clear.
>
> 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