Skip to content

Commit 6ad6ebe

Browse files
committed
Merge remote-tracking branch 'regmap/for-next' into sound/upstream-20260624
2 parents a4d6132 + 9df54de commit 6ad6ebe

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/base/regmap/regcache.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ int regcache_init(struct regmap *map, const struct regmap_config *config)
245245
if (map->cache_ops->exit) {
246246
dev_dbg(map->dev, "Destroying %s cache\n", map->cache_ops->name);
247247
map->lock(map->lock_arg);
248-
ret = map->cache_ops->exit(map);
248+
map->cache_ops->exit(map);
249249
map->unlock(map->lock_arg);
250250
}
251251
err_free_reg_defaults:

drivers/base/regmap/regmap-i2c.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ static int regmap_smbus_word_write_reg16(void *context, const void *data,
337337
val = ((u8 *)data)[2];
338338

339339
return i2c_smbus_write_word_data(i2c, addr_hi,
340-
cpu_to_le16(((u16)val << 8) | addr_lo));
340+
((u16)val << 8) | addr_lo);
341341
}
342342

343343
static const struct regmap_bus regmap_smbus_byte_word_reg16 = {

0 commit comments

Comments
 (0)