Commit d5f39d38 authored by Axel Lin's avatar Axel Lin Committed by Samuel Ortiz

mfd: Initialize tps65912 irq platform data properly

irq_base of the tps65912 irq platform data should be
initialized with the board provided irq_base data.
Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 81b5482c
...@@ -151,7 +151,7 @@ int tps65912_device_init(struct tps65912 *tps65912) ...@@ -151,7 +151,7 @@ int tps65912_device_init(struct tps65912 *tps65912)
goto err; goto err;
init_data->irq = pmic_plat_data->irq; 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); ret = tps65912_irq_init(tps65912, init_data->irq, init_data);
if (ret < 0) if (ret < 0)
goto err; goto err;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment