[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ddbb74c0-6a28-7a1a-83a7-ed8e39d0259e@denx.de>
Date: Sun, 19 Jun 2022 00:58:02 +0200
From: Marek Vasut <marex@...x.de>
To: Javier Martinez Canillas <javierm@...hat.com>,
linux-kernel@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Mark Brown <broonie@...nel.org>,
"Rafael J. Wysocki" <rafael@...nel.org>
Subject: Re: [PATCH 1/3] regmap: Re-introduce bulk read support check in
regmap_bulk_read()
On 6/16/22 09:34, Javier Martinez Canillas wrote:
> Support for drivers to define bulk read/write callbacks in regmap_config
> was introduced by the commit d77e74561368 ("regmap: Add bulk read/write
> callbacks into regmap_config"), but this commit wrongly dropped a check
> in regmap_bulk_read() to determine whether bulk reads can be done or not.
>
> Before that commit, it was checked if map->bus was set. Now has to check
> if a map->read callback has been set.
>
> Fixes: d77e74561368 ("regmap: Add bulk read/write callbacks into regmap_config")
> Signed-off-by: Javier Martinez Canillas <javierm@...hat.com>
Reviewed-by: Marek Vasut <marex@...x.de>
Powered by blists - more mailing lists