[PATCH 1/3] of/base: Take NULL string into account for property with multiple strings
Grant Likely
grant.likely at secretlab.ca
Wed Jan 4 02:34:39 EST 2012
On Tue, Jan 03, 2012 at 03:15:05PM +0100, Cousson, Benoit wrote:
> Hi Grant,
>
> On 12/19/2011 3:02 PM, Rob Herring wrote:
> >On 12/05/2011 08:23 AM, Benoit Cousson wrote:
> >>The current implementation just ignore any NULL string inserted in a
> >>multiple strings property.
> >>In some cases we can have a property with a fix number of strings but
> >>not necessarily used, like for example in a list of valid pinmux modes.
> >>
> >> prop = "uart_rx", "uart_tx", "", "", "safe_mode";
> >>
> >>Do no skip NULL string and take them into account in
> >>of_property_read_string_index and of_property_count_strings.
> >>
> >>Reported-by: Tony Lindgren<tony at atomide.com>
> >>Signed-off-by: Benoit Cousson<b-cousson at ti.com>
> >>Cc: Grant Likely<grant.likely at secretlab.ca>
> >>Cc: Rob Herring<rob.herring at calxeda.com>
> >
> >Applied. The others need Grant's agreement.
>
> New year gentle ping.
merged both; should appear in linux-next tomorrow.
g.
More information about the linux-arm-kernel
mailing list