Happens on each system start, but beyond that, everything works normally.
https://lkml.org/lkml/2019/1/10/140 States the reason for the bug and contains a fix for drivers/gpio/gpio-pcf857x.c. I found that the driver for my device (INT33FF:01) is drivers/pinctrl/intel/pinctrl-cherryview.c and changed it accordingly; the error message is gone now. I have created a diff file I'm goint to attach.
Created attachment 281129 [details] Patch for drivers/pinctrl/intel/pinctrl-cherryview.c
Problem still persists in 5.0.1. There was a commit in 4.20.13 that fixed the exactly same issue for a different driver (gpio: MT7621: use a per instance irq_chip structure). This is not meant as a complaint, but I have the impression that my report is not taken seriously because no one else has confirmed it.
Created attachment 281687 [details] Patch for drivers/pinctrl/intel/pinctrl-cherryview.c Changed paths so it can be applied normally via quilt.
Still not fixed in 5.1.1, although I provided a working patch three months ago. Unbelievable...
Christoph, please follow this guide: https://www.kernel.org/doc/html/v5.2/process/submitting-patches.html
Thank you for the patch! Yes, please follow the instructions in the comment 7 to submit the patch properly.