Thread (15 messages) 15 messages, 5 authors, 2020-11-28

Re: [PATCH v12 1/5] bus: mhi: core: Add helper API to return number of free TREs

From: Manivannan Sadhasivam <hidden>
Date: 2020-11-28 21:52:11
Also in: linux-arm-msm, lkml

On Wed, Nov 18, 2020 at 10:32:45AM +0100, Loic Poulain wrote:
On Mon, 16 Nov 2020 at 23:46, Hemant Kumar [off-list ref] wrote:
quoted
Introduce mhi_get_free_desc_count() API to return number
of TREs available to queue buffer. MHI clients can use this
API to know before hand if ring is full without calling queue
API.

Signed-off-by: Hemant Kumar <redacted>
Reviewed-by: Jeffrey Hugo <redacted>
Reviewed-by: Manivannan Sadhasivam <redacted>
In case this series get new comments to address, I would suggest
merging that patch in mhi-next separately so that other drivers can
start benefiting this function (I would like to use it in mhi-net).
Greg doesn't like that. He asked me to pick APIs only when there an in-tree
consumer available.

Thanks,
Mani
Regards,
Loic
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help