rtc: max77686: Use single-byte writes on MAX77620
authorThierry Reding <treding@nvidia.com>
Fri, 17 Apr 2020 17:08:25 +0000 (19:08 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 11 May 2020 14:21:47 +0000 (16:21 +0200)
commit63a52f63886ab7fa1a28cc7fde08b23682f8fba1
tree6a058c41554d0154609370dcf1ccdbd5a2eb7446
parent7d65cf8c1f0ae59ef87e88067379188b46509538
rtc: max77686: Use single-byte writes on MAX77620

The MAX77620 doesn't support bulk writes, so make sure the regmap code
breaks bulk writes into multiple single-byte writes.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://lore.kernel.org/r/20200417170825.2551367-3-thierry.reding@gmail.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-max77686.c