spi: spi-ep93xx: use 32-bit read/write for all registers
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 8 Aug 2017 20:51:26 +0000 (08:51 +1200)
committerMark Brown <broonie@kernel.org>
Wed, 9 Aug 2017 16:52:54 +0000 (17:52 +0100)
commit8447e4781f033f56cb18c2ec0301ea5d207877fc
tree20b0ad775c4627f94e599848785b2c900a54385c
parent1232978a0dff2d361c3d43cd74e46200c9933466
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>
drivers/spi/spi-ep93xx.c