disk: sdhc: fix command name sdhc_cmd_r1
Apparently a typo that went in undetected, replace sdhc_cmd_r1 with correct command name. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
f628dcd83b
commit
10ee87a80b
1 changed files with 1 additions and 1 deletions
|
@ -575,7 +575,7 @@ static int sdhc_spi_detect(struct sdhc_spi_data *data)
|
|||
} else {
|
||||
/* A 'SDSC' card: Set block length to 512 bytes. */
|
||||
data->high_capacity = false;
|
||||
err = sdhc_cmd_r1(data, SDHC_SET_BLOCK_SIZE, SDMMC_DEFAULT_BLOCK_SIZE);
|
||||
err = sdhc_spi_cmd_r1(data, SDHC_SET_BLOCK_SIZE, SDMMC_DEFAULT_BLOCK_SIZE);
|
||||
if (err != 0) {
|
||||
return err;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue