Skip to content
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment