Re: [PATCH v2] gpio: pca953x: Use correct u16 value for register word write

From: Yong Li
Date: Fri Apr 01 2016 - 10:39:20 EST


Yes it is a regression. I think it should be tagged for stable too

Thanks,
Yong

2016-04-01 20:51 GMT+08:00 Linus Walleij <linus.walleij@xxxxxxxxxx>:
> On Wed, Mar 30, 2016 at 8:49 AM, Yong Li <sdliyong@xxxxxxxxx> wrote:
>
>> The current implementation only uses the first byte in val,
>> the second byte is always 0. Change it to use cpu_to_le16
>> to write the two bytes into the register
>>
>> Signed-off-by: Yong Li <sdliyong@xxxxxxxxx>
>
> Patch applied to fixes with Phil's review tag.
>
> It is a regression, right?
>
> Should it be tagged for stable?
>
> Yours,
> Linus Walleij