Merge remote-tracking branches 'regulator/fix/as3722' and 'regulator/fix/pfuze100' into regulator-linus

This commit is contained in:
Mark Brown 2013-12-11 22:54:38 +00:00
Родитель 374b105797 6389075eff 236c427cbc
Коммит 67cc688554
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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);
}

Просмотреть файл

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