diff options
author | Kalle Valo <kvalo@kernel.org> | 2024-05-03 13:30:19 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2024-05-03 13:30:19 +0300 |
commit | f1c26960b6afb9c38a4019ad36392c654db6e20e (patch) | |
tree | 29982067287972c8e8377910a0b94b1759313121 /include | |
parent | d08aeb97cea7498733c6d0401f7e8afd05dac9e7 (diff) | |
parent | bf76b144fe53c7f0de9e294947d903fc7724776f (diff) | |
download | linux-stable-f1c26960b6afb9c38a4019ad36392c654db6e20e.tar.gz linux-stable-f1c26960b6afb9c38a4019ad36392c654db6e20e.tar.bz2 linux-stable-f1c26960b6afb9c38a4019ad36392c654db6e20e.zip |
Merge tag 'ath-next-20240502' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath
ath.git patches for v6.10
ath12k
* debugfs support
* dfs_simulate_radar debugfs file
* disable Wireless Extensions
* suspend and hibernation support
* ACPI support
* refactoring in preparation of multi-link support
ath11k
* support hibernation (required changes in qrtr and MHI subsystems)
* ieee80211-freq-limit Device Tree property support
ath10k
* firmware-name Device Tree property support
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mhi.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/include/linux/mhi.h b/include/linux/mhi.h index 77b8c0a26674..cde01e133a1b 100644 --- a/include/linux/mhi.h +++ b/include/linux/mhi.h @@ -630,13 +630,29 @@ int mhi_async_power_up(struct mhi_controller *mhi_cntrl); int mhi_sync_power_up(struct mhi_controller *mhi_cntrl); /** - * mhi_power_down - Start MHI power down sequence + * mhi_power_down - Power down the MHI device and also destroy the + * 'struct device' for the channels associated with it. + * See also mhi_power_down_keep_dev() which is a variant + * of this API that keeps the 'struct device' for channels + * (useful during suspend/hibernation). * @mhi_cntrl: MHI controller * @graceful: Link is still accessible, so do a graceful shutdown process */ void mhi_power_down(struct mhi_controller *mhi_cntrl, bool graceful); /** + * mhi_power_down_keep_dev - Power down the MHI device but keep the 'struct + * device' for the channels associated with it. + * This is a variant of 'mhi_power_down()' and + * useful in scenarios such as suspend/hibernation + * where destroying of the 'struct device' is not + * needed. + * @mhi_cntrl: MHI controller + * @graceful: Link is still accessible, so do a graceful shutdown process + */ +void mhi_power_down_keep_dev(struct mhi_controller *mhi_cntrl, bool graceful); + +/** * mhi_unprepare_after_power_down - Free any allocated memory after power down * @mhi_cntrl: MHI controller */ |