On Thu, Sep 13, 2012 at 08:16:55AM -0700, Guenter Roeck wrote: > From: Thomas Kavanagh <tkavanagh@xxxxxxxxxxx> > > The code currently always selects turbo mode for PCA9665, no matter which > clock frequency is configured. This is because it compares the clock frequency > against constants reflecting (boundary / 100). Compare against real boundary > frequencies to fix the problem. > > Cc: Wolfram Sang <w.sang@xxxxxxxxxxxxxx> > Signed-off-by: Thomas Kavanagh <tkavanagh@xxxxxxxxxxx> > Signed-off-by: Guenter Roeck <groeck@xxxxxxxxxxx> > --- > v2: Instead of changing the variable to compare against, change the clock values > to compare against. Applied to -current, thanks! -- Pengutronix e.K. | Wolfram Sang | Industrial Linux Solutions | http://www.pengutronix.de/ |
Attachment:
signature.asc
Description: Digital signature