* Re: [PATCH] OMAP: I2C driver for TI OMAP boards #4 [not found] <1155119476.12635.267974079@webmail.messagingengine.com> @ 2006-08-10 7:56 ` Jean Delvare 2006-08-11 10:25 ` Komal Shah 0 siblings, 1 reply; 2+ messages in thread From: Jean Delvare @ 2006-08-10 7:56 UTC (permalink / raw) To: Komal Shah Cc: tony, David Brownell, r-woodruff2, linux-kernel, Andrew Morton, Greg KH, i2c Hi Komal, This one ended up in my spam box once again, although with a lower score (using the proper type for the attachement seems to have helped.) Maybe try with a shorter list of recipients next time, and add the name of people before their address. > Attached the updated patch as per the review comments on #3 patch. > > Please consider it for the inclusion. Looks good, I'll take it. One remaining objection: > +static int omap_i2c_get_clocks(struct omap_i2c_dev *dev) > +{ > + if (cpu_is_omap16xx() || cpu_is_omap24xx()) { > + dev->iclk = clk_get(dev->dev, "i2c_ick"); > + if (IS_ERR(dev->iclk)) { > + dev->iclk = NULL; > + return -ENODEV; > + } > + } > + > + dev->fclk = clk_get(dev->dev, "i2c_fck"); > + if (IS_ERR(dev->fclk)) { > + if (dev->iclk != NULL) { > + clk_put(dev->iclk); > + dev->iclk = NULL; > + return -ENODEV; I think this return shouldn't be there. > + } > + dev->fclk = NULL; > + return -ENODEV; > + } > + > + return 0; > +} I'll fix it myself if you agree, so that you don't have to resend a patch. Thanks for the good work! I'll send the patch upstream at the end of the week, so it should show in -mm soon. -- Jean Delvare ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] OMAP: I2C driver for TI OMAP boards #4 2006-08-10 7:56 ` [PATCH] OMAP: I2C driver for TI OMAP boards #4 Jean Delvare @ 2006-08-11 10:25 ` Komal Shah 0 siblings, 0 replies; 2+ messages in thread From: Komal Shah @ 2006-08-11 10:25 UTC (permalink / raw) To: Jean Delvare; +Cc: Tony Lindgren, linux-kernel, i2c --- Jean Delvare <khali@linux-fr.org> wrote: > Hi Komal, > > This one ended up in my spam box once again, although with a lower > score (using the proper type for the attachement seems to have > helped.) > Maybe try with a shorter list of recipients next time, and add the > name > of people before their address. I hope this doesn't end up in spam box ;). > > > Attached the updated patch as per the review comments on #3 patch. > > > > Please consider it for the inclusion. > > Looks good, I'll take it. One remaining objection: > > > +static int omap_i2c_get_clocks(struct omap_i2c_dev *dev) > > +{ > > + if (cpu_is_omap16xx() || cpu_is_omap24xx()) { > > + dev->iclk = clk_get(dev->dev, "i2c_ick"); > > + if (IS_ERR(dev->iclk)) { > > + dev->iclk = NULL; > > + return -ENODEV; > > + } > > + } > > + > > + dev->fclk = clk_get(dev->dev, "i2c_fck"); > > + if (IS_ERR(dev->fclk)) { > > + if (dev->iclk != NULL) { > > + clk_put(dev->iclk); > > + dev->iclk = NULL; > > + return -ENODEV; > > I think this return shouldn't be there. > > > + } > > + dev->fclk = NULL; > > + return -ENODEV; > > + } > > + > > + return 0; > > +} > > I'll fix it myself if you agree, so that you don't have to resend a > patch. Thanks for the good work! I'll send the patch upstream at the > end of the week, so it should show in -mm soon. I am fine with that change. Thanx for the review. Signed-off-by: Komal Shah <komal_shah802003@yahoo.com> ---Komal Shah http://komalshah.blogspot.com/ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-08-11 10:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1155119476.12635.267974079@webmail.messagingengine.com>
2006-08-10 7:56 ` [PATCH] OMAP: I2C driver for TI OMAP boards #4 Jean Delvare
2006-08-11 10:25 ` Komal Shah
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox