diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-09-27 14:57:08 (GMT) |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-11-30 14:54:22 (GMT) |
commit | bba61f50f76574ca5b84b310925be7c2e8e64275 (patch) | |
tree | 188c97103d85fcd433b4e4e89cc22c03ab814e25 /arch/x86/ia32/audit.c | |
parent | 9abd29e7c13de24ce73213a425d9574b35ac0c6a (diff) | |
download | linux-bba61f50f76574ca5b84b310925be7c2e8e64275.tar.xz |
i2c: mv64xxx: The n clockdiv factor is 0 based on sunxi SoCs
According to the datasheets the n factor for dividing the tclk is
2 to the power n on Allwinner SoCs, not 2 to the power n + 1 as it is
on other mv64xxx implementations.
I've contacted Allwinner about this and they have confirmed that the
datasheet is correct.
This commit fixes the clk-divider calculations for Allwinner SoCs
accordingly.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Tested-by: Olliver Schinagl <oliver@schinagl.nl>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Cc: stable@kernel.org
Diffstat (limited to 'arch/x86/ia32/audit.c')
0 files changed, 0 insertions, 0 deletions