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

Commit c88a2eb6 authored by Sudheer Papothi's avatar Sudheer Papothi
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 b245a027
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -231,6 +231,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_default *regs,
				size_t num_regs);

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

extern struct regcache_ops regcache_rbtree_ops;
+1 −1
Original line number Diff line number Diff line
@@ -1741,7 +1741,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 neccessary.
 */
static int _regmap_raw_multi_reg_write(struct regmap *map,
int _regmap_raw_multi_reg_write(struct regmap *map,
				       const struct reg_default *regs,
				       size_t num_regs)
{