Message ID | 20210824072659.57788-1-acelan.kao@canonical.com |
---|---|
Headers | show |
Series | GPIO error logs in start and dmesg after update of kernel | expand |
On 24.08.21 09:26, AceLan Kao wrote: > From: "Chia-Lin Kao (AceLan)" <acelan.kao@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(+) > Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com> On 8/24/21 1:26 AM, AceLan Kao wrote: > From: "Chia-Lin Kao (AceLan)" <acelan.kao@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(+) >
On Tue, Aug 24, 2021 at 03:26:57PM +0800, AceLan Kao wrote: > From: "Chia-Lin Kao (AceLan)" <acelan.kao@canonical.com> > > BugLink: https://bugs.launchpad.net/bugs/1937897
On 24.08.21 09:26, AceLan Kao wrote: > From: "Chia-Lin Kao (AceLan)" <acelan.kao@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(+) > Applied to hirsute:linux. Thanks, Kleber
From: "Chia-Lin Kao (AceLan)" <acelan.kao@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(+)