mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 08:03:01 +09:00
mmc: improve API to make clear hw_reset callback is for cards
To make it unambiguous that the hw_reset callback is for cards and not for controllers, we add 'card' to the callback name and convert all users in one go. We keep the argument as mmc_host, though, because the callback is used very early when mmc_card is not yet populated. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Link: https://lore.kernel.org/r/20220408080045.6497-4-wsa+renesas@sang-engineering.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
committed by
Ulf Hansson
parent
9723f69d1d
commit
32f18e5961
@@ -181,7 +181,7 @@ struct mmc_host_ops {
|
||||
unsigned int max_dtr, int host_drv,
|
||||
int card_drv, int *drv_type);
|
||||
/* Reset the eMMC card via RST_n */
|
||||
void (*hw_reset)(struct mmc_host *host);
|
||||
void (*card_hw_reset)(struct mmc_host *host);
|
||||
void (*card_event)(struct mmc_host *host);
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user