spi: stm32_qspi: rework mode management
authorChristophe Kerello <christophe.kerello@st.com>
Mon, 9 Jul 2018 13:32:38 +0000 (15:32 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 23 Jul 2018 18:33:21 +0000 (14:33 -0400)
commitd68b6ad1382b5357e77ce6b4d3fd74831835d62e
treea0a1b6f9a863c1fb626f9f7e4557d659a85070aa
parentceff933e1e359e03bff17b22c0599ee29c4c5924
spi: stm32_qspi: rework mode management

This patch solves quad read issue with Macronix/Micron spi nor.

Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
drivers/spi/stm32_qspi.c