[RESEND][PATCH 0/1][SRU][H][I] GPIO error logs in start and dmesg after update of kernel

AceLan Kao acelan.kao at canonical.com
Tue Aug 24 07:26:57 UTC 2021


From: "Chia-Lin Kao (AceLan)" <acelan.kao at canonical.com>

BugLink: https://bugs.launchpad.net/bugs/1937897

[Impact]
After upgrade kernel to 5.11.0-25 which introduce some ODM patches from AAEON, user encounters below errors
[ 5.852182] gpio gpiochip2: (gpio_aaeon): tried to insert a GPIO chip with zero lines
[ 5.852187] gpiochip_add_data_with_key: GPIOs 0..-1 (gpio_aaeon) failed to register, -22
[ 5.852194] gpio-aaeon: probe of gpio-aaeon.0 failed with error -22

[Fix]
AAEON provides a patch to check the BFPI version before loading the driver.
Which fixes the issue introduced by
Hirsute:
   45a8bb8699cc UBUNTU: ODM: mfd: Add support for IO functions of AAEON devices
Impish:
   424945128781 UBUNTU: ODM: mfd: Add support for IO functions of AAEON devices

[Test]
Verified by AAEON.

[Where problems could occur]
It adds a check while probing the driver, should have no impact to normal user.

Kunyang_Fan (1):
  UBUNTU: ODM: mfd: Check AAEON BFPI version before adding device

 drivers/mfd/mfd-aaeon.c | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

-- 
2.25.1




More information about the kernel-team mailing list