drivers: sdhc: intel_emmc_host: Fix return value

Fixes uninitialized variable return by returning zero
at the end of function.

Signed-off-by: Anisetti Avinash Krishna <anisetti.avinash.krishna@intel.com>
This commit is contained in:
Anisetti Avinash Krishna 2023-12-18 21:45:34 +05:30 committed by Carles Cufí
parent fcc572e040
commit eb2cd31407

View file

@ -1087,7 +1087,7 @@ static int emmc_set_io(const struct device *dev, struct sdhc_io *ios)
host_io->timing = ios->timing; host_io->timing = ios->timing;
} }
return ret; return 0;
} }
static int emmc_get_card_present(const struct device *dev) static int emmc_get_card_present(const struct device *dev)