zephyr/subsys
Lucas Peixoto e3f2add64c disk: fixing the sending of commands with r1 response
The sdhc_cmd_r1_raw() function doesn't take into account the existence
of commands with data response. Because of this, some datas were being
lost.

The commands that return a r1 response and a data are: SDHC_SEND_CSD,
SDHC_SEND_CID, SDHC_READ_SINGLE_BLOCK, SDHC_READ_MULTIPLE_BLOCK,
SDHC_WRITE_BLOCK, SDHC_WRITE_MULTIPLE_BLOCK.

In order to solve this, was juts necessary skip the byte discard when
the command is one of these.

This problem was affecting, for example, the sdhc initialization. The
token returned from SDHC_SEND_CSD was being lost and the initialization
was broken.

Fixes #15444.

Signed-off-by: Lucas Peixoto <lucaspeixotoac@gmail.com>
Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2019-08-01 11:52:57 -04:00
..
bluetooth Bluetooth: Host: Move BT_DBG out of irq_lock 2019-07-31 17:07:50 +02:00
console
cpp cpp: support for 64-bit constructors 2019-07-30 18:55:34 -07:00
debug
dfu dfu: make flash_img write to flash on buffer full 2019-07-29 10:22:51 +02:00
disk disk: fixing the sending of commands with r1 response 2019-08-01 11:52:57 -04:00
fb scripts: gen_cfb_font_header: modify to replicate cfb fonts 2019-07-31 05:43:50 -04:00
fs
jwt
logging logging: Clean up log.h dependencies 2019-08-01 14:42:40 +02:00
mgmt mcumgr: select NET_BUF when MCUMGR=y 2019-07-29 11:13:41 +02:00
net net: lwm2m: cancel pending retransmit work when closing context 2019-07-30 10:19:39 +03:00
power
random
settings settings: Fix missing kernel.h include 2019-08-01 14:42:40 +02:00
shell
stats
storage
testsuite
usb
CMakeLists.txt
Kconfig