]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: spi: renesas: Write DREAR register once
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 31 Aug 2024 20:31:44 +0000 (22:31 +0200)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Sun, 8 Sep 2024 23:10:33 +0000 (01:10 +0200)
commit1cc7c7e119a31c64cf64d887374c95b58ffe9993
tree692a3ec42ae29f81f5976a1d2de9b658aeb26934
parent4ab0a58a9067bb6ceacccefe98cc7db8cbed79c6
mtd: spi: renesas: Write DREAR register once

Instead of writing DREAR with 0 first and then overwriting DREAR again
in case of 4 byte addressing mode, write DREAR in every case once with
the correct content right away. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
drivers/spi/renesas_rpc_spi.c