Re: [RFC 09/13] v4l: rcar-fcp: Configure the number of outstanding read transactions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Laurent,

On Tue, Sep 26, 2017 at 3:01 PM, Laurent Pinchart
<laurent.pinchart@xxxxxxxxxxxxxxxx> wrote:
> On Tuesday, 26 September 2017 14:50:46 EEST Geert Uytterhoeven wrote:
>> On Tue, Sep 26, 2017 at 12:06 PM, Laurent Pinchart wrote:
>> >  static const struct of_device_id rcar_fcp_of_match[] = {
>> >         { .compatible = "renesas,fcpf", .data = (void *)RCAR_FCPF },
>> >         { .compatible = "renesas,fcpv", .data = (void *)RCAR_FCPV },
>> > +       { .compatible = "renesas,fcpvi", .data = (void *)RCAR_FCPVI },
>> >         { },
>>
>> As you use "renesas,fcpv" as a fallback value, you may want to insert
>> the new and more specific "renesas,fvpci" handling above it, for clarity.
>
> Good point, I'll do that.
>
>> I believe it will return the RCAR_FCPVI match data anyway, based on
>> a higher match score for the more specific compatible value?
>
> I don't think this is related to a match score, but to the fact the compatible
> strings from DT are tried in the left to right direction.

JTR, see the use scores in __of_match_node() and __of_device_is_compatible().

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds



[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux