Re: [PATCH v7 1/8] bus: mhi: core: Refactor mhi queue APIs

2020-05-08 Thread Manivannan Sadhasivam
On Fri, May 08, 2020 at 07:26:41PM -0700, Bhaumik Bhatt wrote: > From: Hemant Kumar > > Move all the common code to generate TRE from mhi_queue_buf, > mhi_queue_dma and mhi_queue_skb to mhi_gen_tre. This helps > to centralize the TRE generation code which makes any future > bug fixing easier to

[PATCH v7 1/8] bus: mhi: core: Refactor mhi queue APIs

2020-05-08 Thread Bhaumik Bhatt
From: Hemant Kumar Move all the common code to generate TRE from mhi_queue_buf, mhi_queue_dma and mhi_queue_skb to mhi_gen_tre. This helps to centralize the TRE generation code which makes any future bug fixing easier to manage in these APIs. Suggested-by: Jeffrey Hugo Signed-off-by: Hemant