Re: [PATCH]TWL4030 battery driver madc str fix
* Madhusudhan Chikkature [EMAIL PROTECTED] [080918 14:58]: Hi Tony, I am resending the patch after fixing the comment provided by Jagadeesh. Pushing Tony Regards, Madhu - From: Madhusudhan Chikkature[EMAIL PROTECTED] This patch set up the unused madc request structure members to NULL. Signed-off-by: Madhusudhan Chikkature[EMAIL PROTECTED] --- drivers/power/twl4030_bci_battery.c |2 ++ 1 files changed, 2 insertions(+) Index: linux-omap-2.6/drivers/power/twl4030_bci_battery.c === --- linux-omap-2.6.orig/drivers/power/twl4030_bci_battery.c 2008-09-10 10:16:20.0 +0530 +++ linux-omap-2.6/drivers/power/twl4030_bci_battery.c2008-09-18 17:12:22.0 +0530 @@ -604,7 +604,9 @@ struct twl4030_madc_request req; req.channels = (1 9); + req.do_avg = 0; req.method = TWL4030_MADC_SW1; + req.active = 0; req.func_cb = NULL; twl4030_madc_conversion(req); temp = (u16)req.rbuf[9]; -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH]TWL4030 battery driver madc str fix
Hi Tony, I am resending the patch after fixing the comment provided by Jagadeesh. Regards, Madhu - From: Madhusudhan Chikkature[EMAIL PROTECTED] This patch set up the unused madc request structure members to NULL. Signed-off-by: Madhusudhan Chikkature[EMAIL PROTECTED] --- drivers/power/twl4030_bci_battery.c |2 ++ 1 files changed, 2 insertions(+) Index: linux-omap-2.6/drivers/power/twl4030_bci_battery.c === --- linux-omap-2.6.orig/drivers/power/twl4030_bci_battery.c 2008-09-10 10:16:20.0 +0530 +++ linux-omap-2.6/drivers/power/twl4030_bci_battery.c 2008-09-18 17:12:22.0 +0530 @@ -604,7 +604,9 @@ struct twl4030_madc_request req; req.channels = (1 9); + req.do_avg = 0; req.method = TWL4030_MADC_SW1; + req.active = 0; req.func_cb = NULL; twl4030_madc_conversion(req); temp = (u16)req.rbuf[9]; -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html