Skip to content

Commit

Permalink
drivers: sdhc: intel_emmc_host: Fix return value
Browse files Browse the repository at this point in the history
Fixes uninitialized variable return by returning zero
at the end of function.

Signed-off-by: Anisetti Avinash Krishna <[email protected]>
  • Loading branch information
akanisetti authored and carlescufi committed Dec 19, 2023
1 parent fcc572e commit eb2cd31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/sdhc/intel_emmc_host.c
Original file line number Diff line number Diff line change
Expand Up @@ -1087,7 +1087,7 @@ static int emmc_set_io(const struct device *dev, struct sdhc_io *ios)
host_io->timing = ios->timing;
}

return ret;
return 0;
}

static int emmc_get_card_present(const struct device *dev)
Expand Down

0 comments on commit eb2cd31

Please sign in to comment.