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

From: Manivannan Sadhasivam
Date: Wed Oct 21 2020 - 12:25:50 EST


On Wed, Oct 21, 2020 at 05:43:14PM +0200, Loic Poulain wrote:
> On Wed, 21 Oct 2020 at 17:27, Manivannan Sadhasivam <
> manivannan.sadhasivam@xxxxxxxxxx> wrote:
>
> > On Fri, Oct 16, 2020 at 09:04:14PM -0700, Hemant Kumar wrote:
> > > Introduce mhi_get_free_desc_count() API to return number
> >
>
> Would it not be a good idea to have naming aligned with other methods?
> Like mhi_queue_num_free() or mhi_queue_no_free_elem...
>

'queue_num_free' doesn't sound like getting the number of available
descriptors...

Thanks,
Mani

> Loic