mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 17:11:42 +00:00
The USB stream should check that there are bytes in the rx fifo to read before trying to read them. This should have been in here already. Checking if rx is valid in usb-stream makes the rx_valid call in usb_spi unnecessary so that is removed. BUG=none BRANCH=none TEST=manual Test CCD functionality still works on gru and reef AP/EC consoles sudo flashrom -p raiden_debug_spi:[AP|EC] -r img.bin usb updater Change-Id: Ieb77e35cc471b1f97d540ea4560591f0f40dd600 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/397858 Reviewed-by: Bill Richardson <wfrichar@chromium.org>