commit | 3fba388e611e27e663c7cb4c1d1483e8909bdbc0 | [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 | 1cc7c7e119a31c64cf64d887374c95b58ffe9993 [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>