diff options
| author | Felix Gu <ustc.gu@gmail.com> | 2026-06-10 20:08:17 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-06-10 16:39:13 +0100 |
| commit | 310628484ef06f95c5589374fade917a5689787b (patch) | |
| tree | b7c193be0159a3845cb02809e8b359cd0a337cb2 /scripts | |
| parent | 0e152e4126fa14e697d8514cdd1567b18c679f08 (diff) | |
spi: rzv2h-rspi: Fix SPDR read access width for 16-bit RX
The RZ/V2H hardware manual (section 7.5.2.2.1) specifies that read access
size for the SPI Data Register (SPDR) are fixed at 32 bits. The
RZV2H_RSPI_RX macro for the 16-bit data path used readw(), violating
this requirement.
Switch to readl() for the 16-bit RX path to conform to the hardware
specification.
Fixes: 8b61c8919dff ("spi: Add driver for the RZ/V2H(P) RSPI IP")
Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Felix Gu <ustc.gu@gmail.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com>
Link: https://patch.msgid.link/20260610-rzv2h-rspi-v2-1-40c80b4a2c90@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
