commit | 443edbe71510dde837607110fd7de33569f93b24 | [log] [tgz] |
---|---|---|
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | Tue Jul 02 10:53:52 2019 +0200 |
committer | Peng Fan <peng.fan@nxp.com> | Mon Jul 15 10:16:49 2019 +0800 |
tree | 2f187064b64757fe5f0bbb0bd6b03271818190b2 | |
parent | 4527b50d52c65238cc7ee237aa046dffc80d81c5 [diff] |
mmc: add mmc_poll_for_busy() and change the purpose of mmc_send_status() mmc_send_status() is currently used to poll the card until it is ready, not actually returning the status of the card. Make it return the status and add another function to poll the card. Also remove the 'extern' declaration in the mmc-private.h header to comply with the coding standard. Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>