Re: [PATCH v2] hwmon/sht15: Root out platform data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 25 Nov 2017 10:41:26 +0100
Davide Hug <d@xxxxxxxxxx> wrote:

> Hi Estevam

Hi Fabio,

sorry for that.

> 
> On Sat, 25 Nov 2017 00:06:44 -0200
> Fabio Estevam <festevam@xxxxxxxxx> wrote:
> 
> > Hi Davide,
> > 
> > On Fri, Nov 24, 2017 at 10:03 PM, Davide Hug <d@xxxxxxxxxx> wrote:
> > 
> > > So the GPIOLIB_IRQCHIP code in gpiolib.c is enabled. But the driver
> > > gpio-mxc doesn't use it. In particular it doesn't call gpiochip_add_irqchip
> > > which assigns the .irq_request_resources/.irq_release_resources callbacks that
> > > toggle the FLAG_USED_AS_IRQ.
> > > So in the gpio-mxc driver the guard against setting a GPIO with active IRQ as
> > > output is not in place. And it is this guard that makes the sht15 driver fail
> > > to load when in place.
> > 
> > What is the gpio driver you are using that shows the error?
> 
> The following two drivers:
> 
>   - gpio/gpio-omap (on the beaglebone black)
>   - pinctrl/bcm/pinctrl-bcm2835 (on the raspberry pi 2).
> 
> Where pinctrl-bcm2835 has to include commit
> 85ae9e512f437cd09bf61564bdba29ab88bab3e3 where the driver was converted to
> using the GPIOLIB_IRQCHIP helper library.
> 
> Regards
> Davide
> --
> To unsubscribe from this list: send the line "unsubscribe linux-hwmon" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-hwmon" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux