hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/mmc/host/mmc_spi.c
....@@ -1450,7 +1450,7 @@
14501450
14511451 status = mmc_add_host(mmc);
14521452 if (status != 0)
1453
- goto fail_add_host;
1453
+ goto fail_glue_init;
14541454
14551455 /*
14561456 * Index 0 is card detect
....@@ -1458,7 +1458,7 @@
14581458 */
14591459 status = mmc_gpiod_request_cd(mmc, NULL, 0, false, 1000);
14601460 if (status == -EPROBE_DEFER)
1461
- goto fail_add_host;
1461
+ goto fail_gpiod_request;
14621462 if (!status) {
14631463 /*
14641464 * The platform has a CD GPIO signal that may support
....@@ -1473,7 +1473,7 @@
14731473 /* Index 1 is write protect/read only */
14741474 status = mmc_gpiod_request_ro(mmc, NULL, 1, 0);
14751475 if (status == -EPROBE_DEFER)
1476
- goto fail_add_host;
1476
+ goto fail_gpiod_request;
14771477 if (!status)
14781478 has_ro = true;
14791479
....@@ -1487,7 +1487,7 @@
14871487 ? ", cd polling" : "");
14881488 return 0;
14891489
1490
-fail_add_host:
1490
+fail_gpiod_request:
14911491 mmc_remove_host(mmc);
14921492 fail_glue_init:
14931493 mmc_spi_dma_free(host);