Skip to content

Commit

Permalink
Merge remote-tracking branches 'regulator/fix/as3722' and 'regulator/…
Browse files Browse the repository at this point in the history
…fix/pfuze100' into regulator-linus
  • Loading branch information
Mark Brown committed Dec 11, 2013
3 parents 374b105 + 6389075 + 236c427 commit 67cc688
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/regulator/as3722-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -590,8 +590,8 @@ static int as3722_sd016_set_current_limit(struct regulator_dev *rdev,
default:
return -EINVAL;
}
ret <<= ffs(mask) - 1;
val = ret & mask;
val <<= ffs(mask) - 1;
return as3722_update_bits(as3722, reg, mask, val);
}

Expand Down
2 changes: 1 addition & 1 deletion drivers/regulator/pfuze100-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

#define PFUZE100_DEVICEID 0x0
#define PFUZE100_REVID 0x3
#define PFUZE100_FABID 0x3
#define PFUZE100_FABID 0x4

#define PFUZE100_SW1ABVOL 0x20
#define PFUZE100_SW1CVOL 0x2e
Expand Down

0 comments on commit 67cc688

Please sign in to comment.