]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: zynq_qspi: Use dummy buswidth in dummy byte calculation
authorT Karthik Reddy <t.karthik.reddy@xilinx.com>
Fri, 15 Jul 2022 14:01:17 +0000 (19:31 +0530)
committerMichal Simek <michal.simek@amd.com>
Tue, 26 Jul 2022 07:34:21 +0000 (09:34 +0200)
commite09784728689de7949d4cdd559a9590e0bfcc702
tree7b58c440768c63049f4fa327f30d3104a57c4b49
parent1acb70393f2719c70d92f52d91be2525fa1db679
spi: zynq_qspi: Use dummy buswidth in dummy byte calculation

Fix dummy bytes calculation incase of valid dummy bytes when dummy
buswidth is > 1. Current dummy bytes calculation does not provide
correct dummy values for dummy buswidth > 1.

Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com>
Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Link: https://lore.kernel.org/r/1657893679-20039-3-git-send-email-ashok.reddy.soma@xilinx.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
drivers/spi/zynq_qspi.c