Commit ed5a25a
committed
spi: cadence-quadspi: Fix random issues with Xilinx
Merge series from Sai Krishna Potthuri <sai.krishna.potthuri@amd.com>:
Update Xilinx Versal external DMA read logic to fix random issues
- Instead of having the fixed timeout, update the read timeout based on
the length of the transfer to avoid timeout for larger data size.
- While switching between external DMA read and indirect read, disable the
SPI before configuration and enable it after configuration as recommended
by Octal-SPI Flash Controller specification.
Sai Krishna Potthuri (2):
spi: cadence-quadspi: Update the read timeout based on the length
spi: cadence-quadspi: Disable the SPI before reconfiguring
drivers/spi/spi-cadence-quadspi.c | 40 ++++++++++++++++++-------------
1 file changed, 24 insertions(+), 16 deletions(-)
--
2.25.11 file changed
Lines changed: 24 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
791 | 791 | | |
792 | 792 | | |
793 | 793 | | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
794 | 809 | | |
795 | 810 | | |
796 | 811 | | |
| |||
815 | 830 | | |
816 | 831 | | |
817 | 832 | | |
| 833 | + | |
| 834 | + | |
818 | 835 | | |
819 | 836 | | |
820 | 837 | | |
821 | 838 | | |
| 839 | + | |
| 840 | + | |
822 | 841 | | |
823 | 842 | | |
824 | 843 | | |
| |||
863 | 882 | | |
864 | 883 | | |
865 | 884 | | |
866 | | - | |
| 885 | + | |
867 | 886 | | |
868 | 887 | | |
869 | 888 | | |
| |||
876 | 895 | | |
877 | 896 | | |
878 | 897 | | |
| 898 | + | |
| 899 | + | |
879 | 900 | | |
880 | 901 | | |
881 | 902 | | |
882 | 903 | | |
| 904 | + | |
| 905 | + | |
883 | 906 | | |
884 | 907 | | |
885 | 908 | | |
| |||
1182 | 1205 | | |
1183 | 1206 | | |
1184 | 1207 | | |
1185 | | - | |
1186 | | - | |
1187 | | - | |
1188 | | - | |
1189 | | - | |
1190 | | - | |
1191 | | - | |
1192 | | - | |
1193 | | - | |
1194 | | - | |
1195 | | - | |
1196 | | - | |
1197 | | - | |
1198 | | - | |
1199 | | - | |
1200 | 1208 | | |
1201 | 1209 | | |
1202 | 1210 | | |
| |||
0 commit comments