Re: [RESEND PATCH] ath11k: use MHI provided APIs to allocate and free MHI controller

2020-12-11 Thread Kalle Valo
Bhaumik Bhatt wrote: > Use MHI provided APIs to allocate and free MHI controller to > improve MHI host driver handling. This also fixes a memory leak > as the MHI controller was allocated but never freed. > > Signed-off-by: Bhaumik Bhatt > Reviewed-by: Manivannan Sadhasivam > Signed-off-by:

[RESEND PATCH] ath11k: use MHI provided APIs to allocate and free MHI controller

2020-11-17 Thread Bhaumik Bhatt
Use MHI provided APIs to allocate and free MHI controller to improve MHI host driver handling. This also fixes a memory leak as the MHI controller was allocated but never freed. Signed-off-by: Bhaumik Bhatt Reviewed-by: Manivannan Sadhasivam --- drivers/net/wireless/ath/ath11k/mhi.c | 7

Re: [PATCH] ath11k: use MHI provided APIs to allocate and free MHI controller

2020-11-17 Thread Bhaumik Bhatt
On 2020-11-16 11:14 PM, Kalle Valo wrote: Bhaumik Bhatt writes: Use MHI provided APIs to allocate and free MHI controller to improve MHI host driver handling. How does it improve the handling? Main reason is we want to ensure the MHI controller is zero-initialized and we want to mandate

Re: [PATCH] ath11k: use MHI provided APIs to allocate and free MHI controller

2020-11-16 Thread Kalle Valo
Bhaumik Bhatt writes: > Use MHI provided APIs to allocate and free MHI controller to > improve MHI host driver handling. How does it improve the handling? > This also fixes a memory leak as the MHI controller was allocated but > never freed. > > Signed-off-by: Bhaumik Bhatt > --- >

Re: [PATCH] ath11k: use MHI provided APIs to allocate and free MHI controller

2020-11-16 Thread Manivannan Sadhasivam
+ath11k list On Mon, Nov 16, 2020 at 04:01:40PM -0800, Bhaumik Bhatt wrote: > Use MHI provided APIs to allocate and free MHI controller to > improve MHI host driver handling. This also fixes a memory leak > as the MHI controller was allocated but never freed. > > Signed-off-by: Bhaumik Bhatt

[PATCH] ath11k: use MHI provided APIs to allocate and free MHI controller

2020-11-16 Thread Bhaumik Bhatt
Use MHI provided APIs to allocate and free MHI controller to improve MHI host driver handling. This also fixes a memory leak as the MHI controller was allocated but never freed. Signed-off-by: Bhaumik Bhatt --- drivers/net/wireless/ath/ath11k/mhi.c | 7 --- 1 file changed, 4 insertions(+),