spi: mxic: Fix DMAS_CTRL register layout
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 19 Sep 2019 20:25:04 +0000 (22:25 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 20 Sep 2019 11:08:00 +0000 (12:08 +0100)
commit6fe7ab3837bdbc4830addac9898a5e4bc0783dcc
tree3ed7ba09918d4e897e2b6301529322f0eeb98cae
parent4a82fe0e184263b5ed8f9d8079f7dfd144598127
spi: mxic: Fix DMAS_CTRL register layout

Fix the current layout which only matches early non-public revisions
of the IP. Since its official distribution, two bytes of the SPI
controller DMAS_CTRL register have been inverted.

Suggested-by: Mason Yang <masonccyang@mxic.com.tw>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/r/20190919202504.9619-4-miquel.raynal@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-mxic.c