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: Sudheer Papothi <spapothi@codeaurora.org>
This commit is contained in:
parent
110ad9d27a
commit
568a7edc43
2 changed files with 5 additions and 1 deletions
|
@ -245,6 +245,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,
|
||||
|
|
|
@ -1822,7 +1822,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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue