Re: [PATCH 1/2] regmap: fix page selection for noinc reads

From: Greg Kroah-Hartman
Date: Thu Sep 17 2020 - 11:33:25 EST


On Thu, Sep 17, 2020 at 06:19:19PM +0300, Dmitry Baryshkov wrote:
> Non-incrementing reads can fail if register + length crosses page
> border. However for non-incrementing reads we should not check for page
> border crossing. Fix this by passing additional flag to _regmap_raw_read
> and passing length to _regmap_select_page basing on the flag.
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
> Fixes: 74fe7b551f3385fa585d92616c85b3a575b2b2cb

Please read the submitting patches document for how to properly write
"Fixes:" lines.

Same for patch 2/2.

thanks,

greg kh-