[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <56BD0B04.5070500@maciej.szmigiero.name>
Date: Thu, 11 Feb 2016 23:28:20 +0100
From: "Maciej S. Szmigiero" <mail@...iej.szmigiero.name>
To: Lee Jones <lee.jones@...aro.org>
CC: linux-kernel <linux-kernel@...r.kernel.org>,
Guennadi Liakhovetski <g.liakhovetski@....de>
Subject: Re: mfd: as3711: set regmap config reg counts properly
On 11.02.2016 18:07, Lee Jones wrote:
> On Sun, 31 Jan 2016, Maciej S. Szmigiero wrote:
>
>> Regmap config max_register field should contain number of
>> device last register, however num_reg_defaults_raw field
>> should be set to register count instead
>> (usually one register more than max_register).
>>
>> as3711 driver had both of these fields set to the same value,
>> fix this by introducing separate defines for max register
>> number and total count of registers.
>>
>> Signed-off-by: Maciej S. Szmigiero <mail@...iej.szmigiero.name>
>> ---
>> drivers/mfd/as3711.c | 4 ++--
>> include/linux/mfd/as3711.h | 3 ++-
>> 2 files changed, 4 insertions(+), 3 deletions(-)
>
> These 3 patches should really be submitted as a threaded set, so they
> stay together in one's inbox.
>
> Also, please submit patches using the subject line format expected by
> the subsystem.
>
> `git log --oneline -- <subsystem>` helps with this.
>
> As you're a first time offender, I'll fix this for you this time.
>
> Applied, thanks.
Thanks,
Maciej
Powered by blists - more mailing lists