Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit edaa80c1 authored by Sudheer Papothi's avatar Sudheer Papothi Committed by Banajit Goswami
Browse files

regmap: Provide access to regmap_raw_multi_reg_write API



Regcache sync can call multi reg write to sync to hardware
using regmap_raw_multi_reg_write API. Provide access to
regmap_raw_multi_reg_write API to call from regcache sync.

Change-Id: I2240cd090e7485efb6dd82fd2dd8f8b1fc8a0d85
Signed-off-by: default avatarSudheer Papothi <spapothi@codeaurora.org>
parent a57a5bd7
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -251,6 +251,10 @@ int regcache_lookup_reg(struct regmap *map, unsigned int reg);
int _regmap_raw_write(struct regmap *map, unsigned int reg,
		      const void *val, size_t val_len);

int _regmap_raw_multi_reg_write(struct regmap *map,
				const struct reg_sequence *regs,
				size_t num_regs);

void regmap_async_complete_cb(struct regmap_async *async, int ret);

enum regmap_endian regmap_get_val_endian(struct device *dev,
+1 −1
Original line number Diff line number Diff line
@@ -1965,7 +1965,7 @@ EXPORT_SYMBOL_GPL(regmap_bulk_write);
 * they are all in the same page and have been changed to being page
 * relative. The page register has been written if that was necessary.
 */
static int _regmap_raw_multi_reg_write(struct regmap *map,
int _regmap_raw_multi_reg_write(struct regmap *map,
				       const struct reg_sequence *regs,
				       size_t num_regs)
{