From dcec4ee653819208503c95176499c0b247c8d36b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Cab=C3=A9?= Date: Sat, 14 Jun 2025 22:18:03 +0200 Subject: [PATCH] driver: sdhc: fix typo in SAM4E hsmci driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix parameter name (HSMCI -> hsmci) Signed-off-by: Benjamin Cabé --- drivers/sdhc/sam_hsmci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/sdhc/sam_hsmci.c b/drivers/sdhc/sam_hsmci.c index b6cffcff779..b4bfa56ff57 100644 --- a/drivers/sdhc/sam_hsmci.c +++ b/drivers/sdhc/sam_hsmci.c @@ -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; }