Re: Should irq_enable/disable be flagging/unflagging gpio lines used as irq?

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

 



Thanks. I probably should have pointed out that I'm just getting started.
I thought this driver that does not load would be a good place to do that. But
obviously a "completely broken" driver that "breaks with the current semantics
of the GPIO interrupt" is the wrong place to get started and learn how things
should be done.

So this driver should probably be rewritten using timer based polling and the
descriptor based gpio interface. But since it is a really specific driver for
sensors that are already discontinued it probably doesn't make much sense. And
I'm not yet up to the task anyway.

Are the drivers listed in Documentation/gpio/drivers-on-gpio.txt good examples
of GPIO consumer drivers?

Thanks again.
Davide
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux