Commit 3bef9059 authored by Mark Brown's avatar Mark Brown

Merge remote-tracking branch 'regmap/topic/24bit' into regmap-next

parents 836dc9e3 237019e7
......@@ -500,6 +500,12 @@ struct regmap *regmap_init(struct device *dev,
}
break;
case 24:
if (reg_endian != REGMAP_ENDIAN_BIG)
goto err_map;
map->format.format_reg = regmap_format_24;
break;
case 32:
switch (reg_endian) {
case REGMAP_ENDIAN_BIG:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment