Re: [PATCH v2 2/6] bus: mhi: Drop controller runtime PM callback indirection
Jeff Johnson <[email protected]> Fri, 29 May 2026 17:01:07 -0700
| Newsgroups | dev.linux.lists.mhi,org.freedesktop.lists.dri-devel,org.infradead.lists.ath11k,org.infradead.lists.ath12k,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-kernel,org.kernel.vger.linux-wireless,org.kernel.vger.netdev |
|---|---|
| Message-ID | <[email protected]> |
On 5/22/2026 3:00 AM, Krishna Chaitanya Chundru wrote: > The MHI controller interface exposes runtime_get and runtime_put callbacks > to abstract runtime PM handling from the MHI core. This indirection is > unnecessary since the MHI core can directly use the generic pm_runtime_* > APIs, and the existing implementations are either no-ops or trivial > wrappers around those same APIs. > > Remove the runtime_get and runtime_put function pointers from struct > mhi_controller and update all users in the MHI host stack to call the > standard runtime PM helpers directly. > > Signed-off-by: Krishna Chaitanya Chundru <[email protected]> > Reviewed-by: Konrad Dybcio <[email protected]> > --- > drivers/net/wireless/ath/ath11k/mhi.c | 10 ---------- > drivers/net/wireless/ath/ath12k/mhi.c | 11 ----------- Acked-by: Jeff Johnson <[email protected]>