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

This commit is contained in:
Mark Brown 2013-02-14 17:11:00 +00:00
commit 3bef9059dd
1 changed files with 6 additions and 0 deletions

View File

@ -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: