[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZfHfEyb6XKrE2MBE@sashalap>
Date: Wed, 13 Mar 2024 13:14:59 -0400
From: Sasha Levin <sashal@...nel.org>
To: Mark Brown <broonie@...nel.org>
Cc: linux-kernel@...r.kernel.org, stable@...r.kernel.org,
Marek Vasut <marex@...x.de>,
Jagan Teki <jagan@...rulasolutions.com>,
Maxime Ripard <maxime@...no.tech>,
Robert Foss <robert.foss@...aro.org>,
Sam Ravnborg <sam@...nborg.org>,
Thomas Zimmermann <tzimmermann@...e.de>
Subject: Re: [PATCH 5.15 73/76] regmap: Add bulk read/write callbacks into
regmap_config
On Wed, Mar 13, 2024 at 04:46:56PM +0000, Mark Brown wrote:
>On Wed, Mar 13, 2024 at 12:42:20PM -0400, Sasha Levin wrote:
>> From: Marek Vasut <marex@...x.de>
>>
>> [ Upstream commit d77e745613680c54708470402e2b623dcd769681 ]
>>
>> Currently the regmap_config structure only allows the user to implement
>> single element register read/write using .reg_read/.reg_write callbacks.
>> The regmap_bus already implements bulk counterparts of both, and is being
>> misused as a workaround for the missing bulk read/write callbacks in
>> regmap_config by a couple of drivers. To stop this misuse, add the bulk
>> read/write callbacks to regmap_config and call them from the regmap core
>> code.
>
>This fairly clearly new functionality.
It is, but its needed for 3f42b142ea11 ("serial: max310x: fix IO data
corruption in batched operations") which uses this new functionality.
--
Thanks,
Sasha
Powered by blists - more mailing lists