Skip to content

Commit

Permalink
Merge tag 'mfd-for-linus-3.6-1' of git://git.kernel.org/pub/scm/linux…
Browse files Browse the repository at this point in the history
…/kernel/git/sameo/mfd-2.6

Pull MFD fix from Samuel Ortiz:
 "This one fixes an s5m8767 regulator build breakage due to a merge
  conflict caused by the MFD s5m API changes."

* tag 'mfd-for-linus-3.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6:
  regulator: Fix an s5m8767 build failure
  • Loading branch information
Linus Torvalds committed Jul 31, 2012
2 parents 6df419e + 938e05b commit bbeb0af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/regulator/s5m8767.c
Original file line number Diff line number Diff line change
Expand Up @@ -572,21 +572,21 @@ static __devinit int s5m8767_pmic_probe(struct platform_device *pdev)
pdata->buck2_init +
buck_voltage_val2.step);

s5m_reg_write(s5m8767->iodev, S5M8767_REG_BUCK2DVS2, buck_init);
sec_reg_write(s5m8767->iodev, S5M8767_REG_BUCK2DVS2, buck_init);

buck_init = s5m8767_convert_voltage_to_sel(&buck_voltage_val2,
pdata->buck3_init,
pdata->buck3_init +
buck_voltage_val2.step);

s5m_reg_write(s5m8767->iodev, S5M8767_REG_BUCK3DVS2, buck_init);
sec_reg_write(s5m8767->iodev, S5M8767_REG_BUCK3DVS2, buck_init);

buck_init = s5m8767_convert_voltage_to_sel(&buck_voltage_val2,
pdata->buck4_init,
pdata->buck4_init +
buck_voltage_val2.step);

s5m_reg_write(s5m8767->iodev, S5M8767_REG_BUCK4DVS2, buck_init);
sec_reg_write(s5m8767->iodev, S5M8767_REG_BUCK4DVS2, buck_init);

for (i = 0; i < 8; i++) {
if (s5m8767->buck2_gpiodvs) {
Expand Down

0 comments on commit bbeb0af

Please sign in to comment.