diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2024-04-09 08:38:08 +0200 |
---|---|---|
committer | Christophe Leroy <christophe.leroy@csgroup.eu> | 2024-04-18 15:47:46 +0200 |
commit | ea208201a12913e7a5b7b4b38624942effa44c05 (patch) | |
tree | 3137f6adde92d54ade76dff1ad26cca8364d6187 /drivers/ddr/fsl/ddr2_dimm_params.c | |
parent | 8f58ecf6c328b318187027e1a911a975747b173d (diff) |
spi: mpc8xx: Fix transfert when input or output buffer is NULL
xfer ops can be passed a NULL input or output buffer. At the
time being the driver ignores it and overwrites memory at 0.
Define a dummy buffer and use it when either input or output
buffer is NULL. Bail out when both are NULL as it shouldn't.
Also increase MAX_BUFFER len to 32k as the current is pretty
low.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Diffstat (limited to 'drivers/ddr/fsl/ddr2_dimm_params.c')
0 files changed, 0 insertions, 0 deletions