Skip to content
Commit 4c715661 authored by Michael Brunner's avatar Michael Brunner Committed by Wolfram Sang
Browse files

i2c: Fix Kontron PLD prescaler calculation



Add some necessary braces that have been removed during driver cleanup.
This fixes the I2C prescaler calculation.

Signed-off-by: default avatarMichael Brunner <michael.brunner@kontron.com>
Tested-by: default avatarGuenter Roeck <linux@roeck-us.net>
Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent d6e102f4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment