driver: sdhc: fix typo in SAM4E hsmci driver
Fix parameter name (HSMCI -> hsmci) Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
parent
97e5d33214
commit
dcec4ee653
1 changed files with 1 additions and 1 deletions
|
@ -405,7 +405,7 @@ static inline int wait_read_transfer_done(Hsmci *hsmci)
|
|||
int sr;
|
||||
|
||||
do {
|
||||
sr = HSMCI->HSMCI_SR;
|
||||
sr = hsmci->HSMCI_SR;
|
||||
if (sr & (HSMCI_SR_UNRE | HSMCI_SR_OVRE | HSMCI_SR_DTOE | HSMCI_SR_DCRCE)) {
|
||||
return -EIO;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue