Thread (116 messages) 116 messages, 4 authors, 2012-06-22

[PATCH v5 06/14] ARM: OMAP2+: gpmc: CS configuration helper

flat view
STALE5229d

From: Mohammed, Afzal <hidden>
Date: 2012-06-14 08:45:27
Also in: linux-omap

Hi Jon,

On Wed, Jun 13, 2012 at 21:09:52, Hunter, Jon wrote:
Sure, but reviewing the function it still looks odd from a readability
standpoint. At least it made me think "what is going on here ...". So a
comment is definitely needed.
quoted
quoted
2. A bad setting in the configuration passed. Hopefully, people will
stick to the flags but we know that we expect the device type to be a 0
or 2 and so should we check?
Value of device type is something driver has to worry about, not its users,
they have been provided with two flags, one for NAND & other for NOR.
Yes, but the driver does not seem to worry about it. In other words,
there is no error checking. Ok so not a big deal a comment should suffice.
Ok, comments will be added to make intentions clear

Regards
Afzal
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help