[PATCH v9 1/3] MTD: at91: extract hw ecc initialization to one function and use relaxed read/write
Artem Bityutskiy
dedekind1 at gmail.com
Sun May 27 08:44:28 EDT 2012
On Sat, 2012-05-26 at 21:24 +0800, Josh Wu wrote:
> use _relaxed read/write in most place. And use writel in operations of Control Register since it needs memory barrier.
>
> Signed-off-by: Hong Xu <hong.xu at atmel.com>
> Signed-off-by: Josh Wu <josh.wu at atmel.com>
This should be split on 2 or even 3 parts:
1. You move definitions and things around.
2. You separate out the init stuff into a function
3. You start using _relaxed helpers.
And you should provide better commit messages. You should explain why
you do things - just cleanup? improvement? fix? preparation for
something?
I think this patch is too big, commit message is poor, patch does more
things than documented in the commit message.
--
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/20120527/5b38f766/attachment.sig>
More information about the linux-mtd
mailing list