[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdY8PLQxP85hBo4-s8hYGxQH_hKD_YwzBc6m4gnkGBknmQ@mail.gmail.com>
Date: Fri, 7 Sep 2012 23:13:02 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Tony Lindgren <tony@...mide.com>
Cc: Peter Ujfalusi <peter.ujfalusi@...com>,
linux-kernel@...r.kernel.org, linux-omap@...r.kernel.org
Subject: Re: [PATCH 1/2] pinctrl: pinctrl-single: Make sure we do not change
bits outside of mask
On Thu, Sep 6, 2012 at 8:59 PM, Tony Lindgren <tony@...mide.com> wrote:
> * Peter Ujfalusi <peter.ujfalusi@...com> [120905 02:02]:
>> Use the pcs->fmask to make sure that the value is not changing (setting)
>> bits in areas where it should not.
>> To avoid situations like this:
>>
>> pmx_dummy: pinmux@...00040 {
>> compatible = "pinctrl-single";
>> reg = <0x4a100040 0x0196>;
>> #address-cells = <1>;
>> #size-cells = <0>;
>> pinctrl-single,register-width = <16>;
>> pinctrl-single,function-mask = <0x00ff>;
>> };
>>
>> &pmx_dummy {
>> pinctrl-names = "default";
>> pinctrl-0 = <&board_pins>;
>>
>> board_pins: pinmux_board_pins {
>> pinctrl-single,pins = <
>> 0x6c 0xf0f
>> 0x6e 0x10f
>> 0x70 0x23f
>> 0x72 0xa5f
>> >;
>> };
>> };
>>
>> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@...com>
>
> Thanks this is a valid fix:
>
> Acked-by: Tony Lindgren <tony@...mide.com>
Since nothing in v3.6 is using pinctrl-simple yet, it's not a regression
right?
So can you just group this with the other pinctrl things you are
harvesting in the OMAP tree? I was going to push it for
the v3.7 cycle otherwise.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists