-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes for kernel versions >= 5.0.14 are now also required for 4.x branch #12
Comments
The same with 4.15.0 starting with 4.15.0-60. |
@svfed what did you change to make it work for 4.15.0-60 ? |
Since the change of power usage count may go to any kernel version, I have chosen not to add version check as @fonic, but rather defined in rts51x.h: |
Ok thanks. I'll check if it works for me. |
I confirm that this change is needed for Debian stretch kernels too: |
It helps for Dell Inspiron 3180
Changes appear somewhere after the 4.15.0-58 but before 4.15.0-65,, hard to tell Also - I don't see the freezes now, they were the headache on 4.15.0-58 #15 But need some time for being sure |
It seems the changes introduced in kernel 5.0.14 were recently backported to the 4.x branch. I encountered compiling problems after upgrading to kernel 4.19.52. With the changes implemented by #11, the driver compiles and works fine again.
I simple changed:
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 0, 14))
to
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 0, 14)) || (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 52))
The text was updated successfully, but these errors were encountered: