Skip to content
Snippets Groups Projects
Commit b6d54d52 authored by Peng Fan's avatar Peng Fan Committed by Simon Glass
Browse files

dm: spi: soft_spi bug fix


When doing xfer, should use device->parent, but not device
When doing bit xfer, should use "!!(tmpdout & 0x80)", but not
"(tmpdout & 0x80)"

Signed-off-by: default avatarPeng Fan <van.freenix@gmail.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Jagan Teki <jteki@openedev.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 35732098
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment