Re: [PATCH] video: offb: Pass actual name in offb_init_palette_hacks

From: Rob Herring
Date: Mon Jan 07 2019 - 12:31:28 EST


On Wed, Jan 2, 2019 at 2:03 PM Mathieu Malaterre <malat@xxxxxxxxxx> wrote:
>
> Bartlomiej,
>
> Do you need an Acked-by from Rob, or can you take it in the next round
> of fixes for v4.20 ?

Sorry, I missed this.

>
> Just to repeat myself, previous code would call
> offb_init_palette_hacks(), which in turn would do:
>
> if (dp && !strncmp(name, "ATY,Rage128", 11)) {
>
> with name=NULL.

I prefer to fix this properly using node name helper in
offb_init_palette_hacks(). I'll send a patch shortly.


Rob