Files
OpenCellular/chip
Alexandru M Stan 4afee85638 stm32/spi: Print packet on bad data
Just after a bad data error the EC will print the packet(pretty much the whole thing):
    in_msg=[02 00 0f 03 f4 09 00 00 ]

I found it very helpful when debugging SPI TX/RX to know what the EC sees.

BUG=chrome-os-partner:31390
TEST=Load spidev and send the EC bytes manually(malformed packets)
BRANCH=None

Change-Id: I037ab909076dc454379040e2e927dc6a0b5c5ea9
Signed-off-by: Alexandru M Stan <amstan@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/218442
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
2014-09-23 22:24:42 +00:00
..
2014-07-29 02:21:22 +00:00
2014-09-23 22:24:42 +00:00