lkml.org 
[lkml]   [2023]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ca8210: move to gpio descriptors
On Thu, Jan 26, 2023, at 17:17, Arnd Bergmann wrote:

> if (ret) {
> - dev_crit(&spi->dev, "request_irq %d failed\n", pdata->irq_id);
> - gpiod_unexport(gpio_to_desc(pdata->gpio_irq));
> - gpio_free(pdata->gpio_irq);
> + dev_crit(&spi->dev, "request_irq %d failed\n", priv->irq_id);
> + gpiod_put(priv->gpio_irq);
> }

I just realized that this bit depends on the "gpiolib: remove
legacy gpio_export" patch I sent to the gpio mailing list earlier.

We can probably just defer this change until that is merged,
or alternatively I can rebase this patch to avoid the
dependency.

Arnd

\
 
 \ /
  Last update: 2023-03-26 23:57    [W:0.076 / U:2.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site