mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-26 04:52:23 -04:00
Merge tag 'gpio-fixes-for-v6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux
Pull gpio fixes from Bartosz Golaszewski: - fix IRQ initialization in gpiochip_irqchip_add_domain() - add a missing return value check for platform_get_irq() in gpio-sifive - don't free irq_domains which GPIOLIB does not manage * tag 'gpio-fixes-for-v6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux: gpiolib: Fix irq_domain resource tracking for gpiochip_irqchip_add_domain() gpio: sifive: add missing check for platform_get_irq gpiolib: Fix GPIO chip IRQ initialization restriction
This commit is contained in:
@@ -251,6 +251,14 @@ struct gpio_irq_chip {
|
||||
*/
|
||||
bool initialized;
|
||||
|
||||
/**
|
||||
* @domain_is_allocated_externally:
|
||||
*
|
||||
* True it the irq_domain was allocated outside of gpiolib, in which
|
||||
* case gpiolib won't free the irq_domain itself.
|
||||
*/
|
||||
bool domain_is_allocated_externally;
|
||||
|
||||
/**
|
||||
* @init_hw: optional routine to initialize hardware before
|
||||
* an IRQ chip will be added. This is quite useful when
|
||||
|
||||
Reference in New Issue
Block a user