Skip to content

Commit

Permalink
Merge remote-tracking branch 'regmap/topic/24bit' into regmap-next
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Brown committed Feb 14, 2013
2 parents 836dc9e + 237019e commit 3bef905
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions drivers/base/regmap/regmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3bef905

Please sign in to comment.