summaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2017-08-08 23:51:26 +0300
committerMark Brown <broonie@kernel.org>2017-08-09 19:52:54 +0300
commit8447e4781f033f56cb18c2ec0301ea5d207877fc (patch)
tree20b0ad775c4627f94e599848785b2c900a54385c /tools/perf/util/c++/clang.cpp
parent1232978a0dff2d361c3d43cd74e46200c9933466 (diff)
downloadlinux-8447e4781f033f56cb18c2ec0301ea5d207877fc.tar.xz
spi: spi-ep93xx: use 32-bit read/write for all registers
All the EP93xx SSP registers are 32-bit. Since most of the upper bits are unused, this driver tries to be tricky and uses 8 or 16-bit I/O to access the registers. This really just adds a bit of confusion. Simplify the I/O by using 32-bit read/write's for all of the registers. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> [chris: use u32 instead of unsigned int] Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions