Commit 60ccb35
spi: stm32: always perform registers configuration prior to transfer
SPI registers content may have been lost upon suspend/resume sequence.
So, always compute and apply the necessary configuration in
stm32_spi_transfer_one_setup routine.
Signed-off-by: Alain Volmat <alain.volmat@st.com>
Link: https://lore.kernel.org/r/1597043558-29668-6-git-send-email-alain.volmat@st.com
Signed-off-by: Mark Brown <broonie@kernel.org>1 parent db96bf9 commit 60ccb35
1 file changed
Lines changed: 17 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1597 | 1597 | | |
1598 | 1598 | | |
1599 | 1599 | | |
| 1600 | + | |
1600 | 1601 | | |
1601 | 1602 | | |
1602 | 1603 | | |
1603 | 1604 | | |
1604 | 1605 | | |
1605 | | - | |
1606 | | - | |
1607 | | - | |
1608 | | - | |
1609 | | - | |
1610 | | - | |
1611 | | - | |
1612 | | - | |
1613 | | - | |
1614 | | - | |
1615 | | - | |
1616 | | - | |
1617 | | - | |
1618 | | - | |
1619 | | - | |
1620 | | - | |
| 1606 | + | |
| 1607 | + | |
1621 | 1608 | | |
1622 | | - | |
1623 | | - | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
1624 | 1616 | | |
1625 | 1617 | | |
1626 | | - | |
1627 | | - | |
1628 | | - | |
| 1618 | + | |
| 1619 | + | |
1629 | 1620 | | |
1630 | | - | |
1631 | | - | |
| 1621 | + | |
| 1622 | + | |
| 1623 | + | |
| 1624 | + | |
1632 | 1625 | | |
1633 | | - | |
1634 | | - | |
| 1626 | + | |
1635 | 1627 | | |
1636 | 1628 | | |
1637 | 1629 | | |
| |||
0 commit comments