[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMRc=MfD3=ifo9EJf=5_HZKLXnbASi=ehYm=Zs4WQA+YxfffQw@mail.gmail.com>
Date: Mon, 6 Mar 2023 10:23:30 +0100
From: Bartosz Golaszewski <brgl@...ev.pl>
To: William Breathitt Gray <william.gray@...aro.org>
Cc: linus.walleij@...aro.org, linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org, techsupport@...systems.com,
stable@...r.kernel.org,
Paul Demetrotion <pdemetrotion@...systems.com>
Subject: Re: [RESEND] gpio: ws16c48: Fix off-by-one error in WS16C48 resource
region extent
On Thu, Mar 2, 2023 at 11:30 PM William Breathitt Gray
<william.gray@...aro.org> wrote:
>
> The WinSystems WS16C48 I/O address region spans offsets 0x0 through 0xA,
> which is a total of 11 bytes. Fix the WS16C48_EXTENT define to the
> correct value of 11 so that access to necessary device registers is
> properly requested in the ws16c48_probe() callback by the
> devm_request_region() function call.
>
> Fixes: 2c05a0f29f41 ("gpio: ws16c48: Implement and utilize register structures")
> Cc: stable@...r.kernel.org
> Cc: Paul Demetrotion <pdemetrotion@...systems.com>
> Signed-off-by: William Breathitt Gray <william.gray@...aro.org>
> ---
Why did you need to resend this? Anything changed?
Bart
Powered by blists - more mailing lists