Skip to content
Commit 3fba388e authored by Marek Vasut's avatar Marek Vasut
Browse files

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: default avatarMarek Vasut <marek.vasut+renesas@mailbox.org>
parent 1cc7c7e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment