regmap: split up regmap_config.use_single_rw
Split regmap_config.use_single_rw into use_single_read and use_single_write. This change enables drivers of devices which only support bulk operations in one direction to use the regmap_bulk_*() functions for both directions and have their bulk operation split into single operations only when necessary. Update all struct regmap_config instances where use_single_rw==true to instead set both use_single_read and use_single_write. No attempt was made to evaluate whether it is possible to set only one of use_single_read or use_single_write. Signed-off-by: David Frey <dpfrey@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Este cometimento está contido em:

cometido por
Mark Brown

ascendente
9ad8eb0168
cometimento
1c96a2f67c
@@ -1105,7 +1105,8 @@ static struct regmap_config cs35l35_regmap = {
|
||||
.readable_reg = cs35l35_readable_register,
|
||||
.precious_reg = cs35l35_precious_register,
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
.use_single_rw = true,
|
||||
.use_single_read = true,
|
||||
.use_single_write = true,
|
||||
};
|
||||
|
||||
static irqreturn_t cs35l35_irq(int irq, void *data)
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador