frank-zago / ch341-i2c-spi-gpio

WinChipHead CH341 linux driver for I2C, SPI and GPIO mode
GNU General Public License v2.0
70 stars 29 forks source link

Fix page-fault in kernel 5.15 #33

Closed iotmaker33 closed 8 months ago

iotmaker33 commented 8 months ago

Hi,

I make a patch to fix the page-fault bug in kernel 5.15 (Ubuntu 22.04 LTS) Could you help to review this and help to integrate this patch ?

Thanks. gpio.patch.gz

iotmaker33 commented 8 months ago

Hi,

I found you remove IRQCHIP_IMMUTABLE macro too. There is no IRQCHIP_IMMUTABLE before 5.19. Could you help to add the following line ?

define IRQCHIP_IMMUTABLE 0

thanks.

frank-zago commented 8 months ago

Sorry about that. Not sure how that happened. It's back now.

iotmaker33 commented 8 months ago

It works well now. Thanks for your hard work