Skip to content

Commit

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

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
  • Loading branch information
Laxman Dewangan authored and Samuel Ortiz committed Feb 20, 2012
1 parent 4a55320 commit 0a35ee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mfd/tps65910.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ static int tps65910_i2c_probe(struct i2c_client *i2c,
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;

tps65910_gpio_init(tps65910, pmic_plat_data->gpio_base);

Expand Down

0 comments on commit 0a35ee4

Please sign in to comment.