Re: [PATCH v2] i2c: (algo-pca) Fix mode selection for PCA9665

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux