diff options
author | Alexander Stein <alexander.stein@systec-electronic.com> | 2013-01-28 10:44:12 +0100 |
---|---|---|
committer | Wolfram Sang <wolfram@the-dreams.de> | 2013-02-11 15:53:49 +0100 |
commit | b08369a174a183e88baa98ab5e3566a617a3a7f8 (patch) | |
tree | 63a3d942b41b6dca13e6d770fddb2937f34ebbca /drivers/rtc/rtc-mpc5121.c | |
parent | 4182b434bf760355a1516b1d3d9f73aa419eeeec (diff) |
i2c: isch: Add module parameter for backbone clock rate if divider is unset
It was observed the Host Clock Divider was not written by the driver. It
was still set to (default) 0, if not already set by BIOS, which caused
garbage on SMBus.
This driver adds a parameters which is used to calculate the divider
appropriately for a default bitrate of 100 KHz. This new divider is only
applied if the clock divider is still default 0.
Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
Reviewed-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Wolfram Sang <wolfram@the-dreams.de>
Diffstat (limited to 'drivers/rtc/rtc-mpc5121.c')
0 files changed, 0 insertions, 0 deletions