Skip to contentSkip to conversation

mfd: tps65910: Initialize irq platform data properly

PATCH In review Laxman Dewangan 2 participants 5 messages Jan 18, 2012 – Feb 21, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mfd: tps65910: Initialize irq platform data properly

irq_base of the tps65910 irq platform data should be initialized with the board provided irq_base data.

---
 drivers/mfd/tps65910.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mfd/tps65910.c +1 -1
index c1da84b..8517481 100644
@@ -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);
 
Signature · 1 line
1.7.1.1
#1 lore raw
Quoted 13 lines · Laxman Dewangan

irq_base of the tps65910 irq platform data should be initialized with the board provided irq_base data.

---
  drivers/mfd/tps65910.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mfd/tps65910.c +0 -0
index c1da84b..8517481 100644

drivers/mfd/tps65910.c static int tps65910_i2c_probe(struct i2c_client *i2c, · line 174

Quoted 8 lines
drivers/mfd/tps65910.c +1 -1
@@ -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);
 

Hi Samuel,
Any feedback on this patch?

Thanks,
Laxman

#2 lore raw

Hi Samuel,
Can you please review this patch? Without this change, the device is corrupting other irq registration because it tries to register wrong irqs.

Thanks,
Laxman

Quoted 29 lines · Laxman Dewangan
Quoted 13 lines · Laxman Dewangan

irq_base of the tps65910 irq platform data should be initialized with the board provided irq_base data.

---
   drivers/mfd/tps65910.c |    2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mfd/tps65910.c +0 -0
index c1da84b..8517481 100644

drivers/mfd/tps65910.c static int tps65910_i2c_probe(struct i2c_client *i2c, · line 174

Quoted 8 lines
drivers/mfd/tps65910.c +1 -1
@@ -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);
 

Hi Samuel,
Any feedback on this patch?

Thanks,
Laxman

#3 lore raw
In reply to Laxman Dewangan

Hi Laxman,

Quoted 2 lines · Laxman Dewangan

irq_base of the tps65910 irq platform data should be initialized with the board provided irq_base data.

Thanks, patch applied to both my for-next and for-linus branches.

Cheers,
Samuel.

Signature · 2 lines
Intel Open Source Technology Centre
http://oss.intel.com/
#4 lore raw

Thanks Samuel for taking care.

Quoted 10 lines · Samuel Ortiz

Hi Laxman,

Quoted 2 lines · Laxman Dewangan

irq_base of the tps65910 irq platform data should be initialized with the board provided irq_base data.

Thanks, patch applied to both my for-next and for-linus branches.

Cheers,
Samuel.