Skip to content
Commit 28eeb854 authored by madimario's avatar madimario Committed by Dom Cobley
Browse files

bcm2835_smi_dev: Fix handling of word-odd lengths



The read and write functions did not use the correct pointer offset
when dealing with an odd number of bytes after a DMA transfer. Also,
only handle the remaining odd bytes if the DMA transfer completed
successfully.

Submitted-by: @madimario (GitHub)
Signed-off-by: default avatarPhil Elwell <phil@raspberrypi.com>
parent 9ec0117d
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