Skip to content
Unverified Commit ab7e4aee authored by madimario's avatar madimario Committed by GitHub
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 ce646f74
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment