Skip to content

Commit

Permalink
mfd: Initialize tps65912 irq platform data properly
Browse files Browse the repository at this point in the history
irq_base of the tps65912 irq platform data should be
initialized with the board provided irq_base data.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
  • Loading branch information
Axel Lin authored and Samuel Ortiz committed Feb 23, 2012
1 parent 81b5482 commit d5f39d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mfd/tps65912-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ int tps65912_device_init(struct tps65912 *tps65912)
goto err;

init_data->irq = pmic_plat_data->irq;
init_data->irq_base = pmic_plat_data->irq;
init_data->irq_base = pmic_plat_data->irq_base;
ret = tps65912_irq_init(tps65912, init_data->irq, init_data);
if (ret < 0)
goto err;
Expand Down

0 comments on commit d5f39d3

Please sign in to comment.