Commit 0edfa4d
committed
spi: microchip-core-qspi: don't attempt to transmit during emulated read-only dual/quad operations
The core will deal with reads by creating clock cycles itself, there's
no need to generate clock cycles by transmitting garbage data at the
driver level. Further, transmitting garbage, if the hardware actually
does it (tbh, I'm not sure if it does or if it ignores what's in the Tx
FIFO after reaching the designated number of "command bytes") would just
brick the transfer since QSPI doesn't have a dedicated master-out
line like MOSI in regular SPI.
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>1 parent c96487c commit 0edfa4d
1 file changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
692 | 692 | | |
693 | 693 | | |
694 | 694 | | |
| 695 | + | |
695 | 696 | | |
696 | 697 | | |
697 | 698 | | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
698 | 704 | | |
699 | 705 | | |
700 | 706 | | |
701 | 707 | | |
702 | 708 | | |
703 | | - | |
| 709 | + | |
704 | 710 | | |
705 | 711 | | |
706 | 712 | | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
707 | 717 | | |
708 | 718 | | |
709 | 719 | | |
| |||
0 commit comments