summaryrefslogtreecommitdiff
path: root/drivers/ddr/imx/phy/ddrphy_train.c
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@mailbox.org>2024-08-31 22:31:45 +0200
committerMarek Vasut <marek.vasut+renesas@mailbox.org>2024-09-09 01:10:33 +0200
commit3fba388e611e27e663c7cb4c1d1483e8909bdbc0 (patch)
treecac6bad3adc685fbf89466cd71dbbd0ea7ec2774 /drivers/ddr/imx/phy/ddrphy_train.c
parent1cc7c7e119a31c64cf64d887374c95b58ffe9993 (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>
Diffstat (limited to 'drivers/ddr/imx/phy/ddrphy_train.c')
0 files changed, 0 insertions, 0 deletions