commit | 4d799b690897076fbcb2b81439af24c148091376 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut+renesas@mailbox.org> | Sat Aug 31 22:31:45 2024 +0200 |
committer | Marek Vasut <marek.vasut+renesas@mailbox.org> | Mon Sep 09 01:10:33 2024 +0200 |
tree | cac6bad3adc685fbf89466cd71dbbd0ea7ec2774 | |
parent | be6101581f4c53befeac9a700f1c271641baa98d [diff] |
mtd: spi: renesas: Write DRDMCR register once Instead of writing DRDMCR with 0 first and then overwriting DRDMCR again in case any dummy bytes have to be sent out, write DRDMCR in every case with the amount of dummy bytes that have to be sent out. In case no dummy bytes have to be sent out, the value written into DRDMCR is zero, so no dummy bytes are sent out. No functional change. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>