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:
parent
fcc572e040
commit
eb2cd31407
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue