[PATCH] mtd: nand/docg4: fix oob reads

Artem Bityutskiy dedekind1 at gmail.com
Fri Aug 17 07:13:52 EDT 2012


On Wed, 2012-07-11 at 11:08 -0700, Mike Dunn wrote:
> This patch does two closely related things:
> 
> (1) Currently the ecc.read_page() method does not fill the nand->oob_poi buffer
> with the oob data, but instead reads oob into a local buffer.  Fix this by
> filling the oob_poi buffer instead of a local buffer.  The 'oob_required'
> argument is quietly ignored; the device must always read oob after the page
> data, and it is presumed that there's no harm in filling oob_poi, even when not
> explicitly requested.

Pushed to l2-mtd.git, thanks!
-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120817/b01f8bee/attachment.sig>


More information about the linux-mtd mailing list