Message ID | 20190919202504.9619-4-miquel.raynal@bootlin.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 6fe7ab3837bdbc4830addac9898a5e4bc0783dcc |
Headers | show |
Series | [1/4] spi: mxic: Fix transmit path | expand |
diff --git a/drivers/spi/spi-mxic.c b/drivers/spi/spi-mxic.c index 5d5404642226..7911600cc954 100644 --- a/drivers/spi/spi-mxic.c +++ b/drivers/spi/spi-mxic.c @@ -145,8 +145,8 @@ #define LWR_SUSP_CTRL_EN BIT(31) #define DMAS_CTRL 0x9c -#define DMAS_CTRL_DIR_READ BIT(31) -#define DMAS_CTRL_EN BIT(30) +#define DMAS_CTRL_EN BIT(31) +#define DMAS_CTRL_DIR_READ BIT(30) #define DATA_STROB 0xa0 #define DATA_STROB_EDO_EN BIT(2)
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> --- drivers/spi/spi-mxic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)