dect
/
linux-2.6
Archived
13
0
Fork 0

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/voltage-2.6

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/voltage-2.6:
  regulator: fix enabling regulator issue on max8925
This commit is contained in:
Linus Torvalds 2010-04-28 13:37:31 -07:00
commit 1d16b0f2f3
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ static int max8925_is_enabled(struct regulator_dev *rdev)
struct max8925_regulator_info *info = rdev_get_drvdata(rdev);
int ret;
ret = max8925_reg_read(info->i2c, info->vol_reg);
ret = max8925_reg_read(info->i2c, info->enable_reg);
if (ret < 0)
return ret;