mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 22:14:04 +02:00
mmc: core: export retune_enable/disable api for wifi drivers
Change-Id: I084e155ed71057fa7f39e160a4f3fde964557185 Signed-off-by: Yao Xiao <xiaoyao@rock-chips.com>
This commit is contained in:
parent
0dfdb6557f
commit
b4f51792fa
|
|
@ -66,6 +66,7 @@ void mmc_retune_enable(struct mmc_host *host)
|
|||
mod_timer(&host->retune_timer,
|
||||
jiffies + host->retune_period * HZ);
|
||||
}
|
||||
EXPORT_SYMBOL(mmc_retune_enable);
|
||||
|
||||
void mmc_retune_disable(struct mmc_host *host)
|
||||
{
|
||||
|
|
@ -74,6 +75,7 @@ void mmc_retune_disable(struct mmc_host *host)
|
|||
host->retune_now = 0;
|
||||
host->need_retune = 0;
|
||||
}
|
||||
EXPORT_SYMBOL(mmc_retune_disable);
|
||||
|
||||
void mmc_retune_timer_stop(struct mmc_host *host)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -17,8 +17,6 @@
|
|||
int mmc_register_host_class(void);
|
||||
void mmc_unregister_host_class(void);
|
||||
|
||||
void mmc_retune_enable(struct mmc_host *host);
|
||||
void mmc_retune_disable(struct mmc_host *host);
|
||||
void mmc_retune_hold(struct mmc_host *host);
|
||||
void mmc_retune_release(struct mmc_host *host);
|
||||
int mmc_retune(struct mmc_host *host);
|
||||
|
|
|
|||
|
|
@ -561,4 +561,7 @@ static inline void mmc_retune_recheck(struct mmc_host *host)
|
|||
host->retune_now = 1;
|
||||
}
|
||||
|
||||
void mmc_retune_enable(struct mmc_host *host);
|
||||
void mmc_retune_disable(struct mmc_host *host);
|
||||
|
||||
#endif /* LINUX_MMC_HOST_H */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user