mmcsd: Move SDIO_GOTEXTCSD after SDIO_DMASENDSETUP

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-04-01 20:31:10 +08:00 committed by Petro Karashchenko
parent f95d13b3a1
commit fc030d846c

View File

@ -539,24 +539,6 @@
#define SDIO_CLOCK(dev,rate) ((dev)->clock(dev,rate))
/****************************************************************************
* Name: SDIO_GOTEXTCSD
*
* Description:
* Notify driver EXT CSD data
*
* Input Parameters:
* dev - An instance of the SDIO device interface
* buffer - Ext Csd data
*
* Returned Value:
* None.
*
****************************************************************************/
#define SDIO_GOTEXTCSD(dev,buffer) \
((dev)->gotextcsd?(dev)->gotextcsd(dev,buffer):OK)
/****************************************************************************
* Name: SDIO_ATTACH
*
@ -914,6 +896,24 @@
# define SDIO_DMASENDSETUP(dev,buffer,len) (-ENOSYS)
#endif
/****************************************************************************
* Name: SDIO_GOTEXTCSD
*
* Description:
* Notify driver EXT CSD data
*
* Input Parameters:
* dev - An instance of the SDIO device interface
* buffer - Ext Csd data
*
* Returned Value:
* None.
*
****************************************************************************/
#define SDIO_GOTEXTCSD(dev,buffer) \
((dev)->gotextcsd?(dev)->gotextcsd(dev,buffer):OK)
/****************************************************************************
* Public Types
****************************************************************************/