mirror of
https://github.com/torvalds/linux.git
synced 2026-05-18 03:27:14 +02:00
mmc: core: Add error handling of sd_uhs2_power_up()
In sd_uhs2_reinit() the call to sd_uhs2_power_up() lacks error handling, so let's add it. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Adrian Hunter <adrian.hunter@intel.com> Message-ID: <20241029131752.226764-3-ulf.hansson@linaro.org>
This commit is contained in:
parent
767c2b21cb
commit
7acbd2da48
|
|
@ -999,7 +999,9 @@ static int sd_uhs2_reinit(struct mmc_host *host)
|
|||
struct mmc_card *card = host->card;
|
||||
int err;
|
||||
|
||||
sd_uhs2_power_up(host);
|
||||
err = sd_uhs2_power_up(host);
|
||||
if (err)
|
||||
return err;
|
||||
|
||||
err = sd_uhs2_phy_init(host);
|
||||
if (err)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user