Commit c475c085 authored by Mark Brown's avatar Mark Brown Committed by Bosser Yeh
Browse files

UPSTREAM: regmap: Drop initial version of maximum transfer length fixes



commit bc647348 upstream.

When problems were noticed with the register address not being taken
into account when limiting raw transfers with I2C devices we fixed this
in the core.  Unfortunately it has subsequently been realised that a lot
of buses were relying on the prior behaviour, partly due to unclear
documentation not making it obvious what was intended in the core.  This
is all more involved to fix than is sensible for a fix commit so let's
just drop the original fixes, a separate commit will fix the originally
observed problem in an I2C specific way

Bug: 305125309
Bug: 307191878
Fixes: 39815141 ("regmap: Account for register length when chunking")
Fixes: c8e79689 ("regmap: spi-avmm: Fix regmap_bus max_raw_write")
Change-Id: Idb4ef8cb6e304def1423304575a8fc27a41719b0
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Reviewed-by: default avatarXu Yilun <yilun.xu@intel.com>
Cc: stable@kernel.org
Link: https://lore.kernel.org/r/20230712-regmap-max-transfer-v1-1-80e2aed22e83@kernel.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 8b3dd8d2)
parent 00c7bec8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment