On Tue, Nov 19, 2013 at 10:17 AM, Alexander Shiyan <[email protected]> wrote:
>> On Fri, Nov 15, 2013 at 7:42 AM, Alexander Shiyan <[email protected]> wrote:

>> Assuming just like the people causing the y2k problem that
>> "32 bits ought to fit everyone".
>>
>> This is not your fault, but I'd like you to insert a big comment
>> explaining that the syscon driver semantics hammer down the
>> 32 bit register width and there is nothing you can do about it.
>
> You mean the comment in the source code or in the DT bindings?
> Thanks.

In the source code right where you hardwire /32 and %32 etc.

Might as well use some

#define SYSCON_REG_WIDTH 32

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to