[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 3 Mar 2021 11:27:40 +0200
From: Jarkko Nikula <jarkko.nikula@...ux.intel.com>
To: Dejin Zheng <zhengdejin5@...il.com>, corbet@....net,
andriy.shevchenko@...ux.intel.com, mika.westerberg@...ux.intel.com,
rric@...nel.org, bhelgaas@...gle.com, wsa@...nel.org,
linux-doc@...r.kernel.org, linux-i2c@...r.kernel.org,
linux-pci@...r.kernel.org
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH v5 3/4] i2c: designware: Use pcim_alloc_irq_vectors() to
allocate IRQ vectors
On 2/26/21 5:50 PM, Dejin Zheng wrote:
> The pcim_alloc_irq_vectors() function, an explicit device-managed version
> of pci_alloc_irq_vectors(). If pcim_enable_device() has been called
> before, then pci_alloc_irq_vectors() is actually a device-managed
> function. It is used here as a device-managed function, So replace it
> with pcim_alloc_irq_vectors(). At the same time, Remove the
> pci_free_irq_vectors() function to simplify the error handling path.
> the freeing resources will take automatically when device is gone.
>
> Acked-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
> Signed-off-by: Dejin Zheng <zhengdejin5@...il.com>
> ---
Acked-by: Jarkko Nikula <jarkko.nikula@...ux.intel.com>
Powered by blists - more mailing lists