Skip to content
Snippets Groups Projects
  1. Dec 21, 2021
  2. Dec 19, 2021
    • Noralf Trønnes's avatar
      gpio: dln2: Fix interrupts when replugging the device · 9a5875f1
      Noralf Trønnes authored
      
      When replugging the device the following message shows up:
      
      gpio gpiochip2: (dln2): detected irqchip that is shared with multiple gpiochips: please fix the driver.
      
      This also has the effect that interrupts won't work.
      The same problem would also show up if multiple devices where plugged in.
      
      Fix this by allocating the irq_chip data structure per instance like other
      drivers do.
      
      I don't know when this problem appeared, but it is present in 5.10.
      
      Cc: <stable@vger.kernel.org> # 5.10+
      Cc: Daniel Baluta <daniel.baluta@gmail.com>
      Signed-off-by: default avatarNoralf Trønnes <noralf@tronnes.org>
      Signed-off-by: default avatarBartosz Golaszewski <brgl@bgdev.pl>
      9a5875f1
  3. Nov 16, 2021
    • Randy Dunlap's avatar
      gpio: rockchip: needs GENERIC_IRQ_CHIP to fix build errors · d6912b12
      Randy Dunlap authored
      
      gpio-rockchip uses interfaces that are provided by the Kconfig
      symbol GENERIC_IRQ_CHIP, so the driver should select that symbol
      in order to prevent build errors.
      
      Fixes these build errors (and more):
      
      aarch64-linux-ld: drivers/gpio/gpio-rockchip.o: in function `rockchip_irq_disable':
      gpio-rockchip.c:(.text+0x454): undefined reference to `irq_gc_mask_set_bit'
      aarch64-linux-ld: drivers/gpio/gpio-rockchip.o: in function `rockchip_irq_enable':
      gpio-rockchip.c:(.text+0x478): undefined reference to `irq_gc_mask_clr_bit'
      aarch64-linux-ld: drivers/gpio/gpio-rockchip.o: in function `rockchip_interrupts_register':
      gpio-rockchip.c:(.text+0x518): undefined reference to `irq_generic_chip_ops'
      aarch64-linux-ld: gpio-rockchip.c:(.text+0x594): undefined reference to `__irq_alloc_domain_generic_chips'
      aarch64-linux-ld: gpio-rockchip.c:(.text+0x5cc): undefined reference to `irq_get_domain_generic_chip'
      aarch64-linux-ld: gpio-rockchip.c:(.text+0x5e0): undefined reference to `irq_gc_ack_set_bit'
      aarch64-linux-ld: gpio-rockchip.c:(.text+0x604): undefined reference to `irq_gc_set_wake'
      
      Fixes: 936ee267 ("gpio/rockchip: add driver for rockchip gpio")
      Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Signed-off-by: default avatarBartosz Golaszewski <brgl@bgdev.pl>
      d6912b12
  4. Nov 15, 2021
  5. Nov 12, 2021
  6. Nov 11, 2021
  7. Nov 10, 2021
Loading