diff options
author | 2017-12-07 17:20:02 +0700 | |
---|---|---|
committer | 2018-01-15 19:16:14 +0100 | |
commit | 7575a745f9ea12d7fdbc7cf02c862bad0a47c50f (patch) | |
tree | b4178fb80fbad9d04362eec15514f78ef3856f5c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | i2c: mpc: unify obtaining the MPC8533/44 I2C clock prescaler w/ MPC8xxx (diff) | |
download | linux-dev-7575a745f9ea12d7fdbc7cf02c862bad0a47c50f.tar.xz linux-dev-7575a745f9ea12d7fdbc7cf02c862bad0a47c50f.zip |
i2c: mpc: fix PORDEVSR2 mask for MPC8533/44
According to the reference manuals for the corresponding SoCs, SEC
frequency ratio configuration is indicated by bit 26 of the POR Device
Status Register 2. Consequently, SEC_CFG bit should be tested by mask 0x20,
not 0x80. Testing the wrong bit leads to selection of wrong I2C clock
prescaler on those SoCs.
Signed-off-by: Arseny Solokha <asolokha@kb.kras.ru>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions