Skip to content

Commit dcec4ee

Browse files
kartbenhenrikbrixandersen
authored andcommitted
driver: sdhc: fix typo in SAM4E hsmci driver
Fix parameter name (HSMCI -> hsmci) Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
1 parent 97e5d33 commit dcec4ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/sdhc/sam_hsmci.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ static inline int wait_read_transfer_done(Hsmci *hsmci)
405405
int sr;
406406

407407
do {
408-
sr = HSMCI->HSMCI_SR;
408+
sr = hsmci->HSMCI_SR;
409409
if (sr & (HSMCI_SR_UNRE | HSMCI_SR_OVRE | HSMCI_SR_DTOE | HSMCI_SR_DCRCE)) {
410410
return -EIO;
411411
}

0 commit comments

Comments
 (0)