-
Notifications
You must be signed in to change notification settings - Fork 54
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
ipu6: Fix compilation with kernels >= 6.6.0 #175
Conversation
This might need some updating lol. IVSC driver just merged for 6.6. |
931ceec
to
0398e11
Compare
New push:
|
Thank you @jwrdegoede . Would you mind also change the ov02e10.c?
Besides, we need to change some var/struct names in v6.6 so please let me sync internally. |
0398e11
to
c27476e
Compare
Rebased to latest master and added the requested changes. |
Hi Hans, Internally we want to change align struct definitions with IPU6 in upstreaming, so I changed a bit more. Could you try this patch?
|
Kernel 6.6 has made some significant changes to how v4l2-async (sub)dev registration works. Adjust the code accordingly. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Kernel 6.6.0 has dropped the probe_new i2c_driver callback, all drivers must now use the probe callback which now uses the same func-prototype as probe_new used to. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
c27476e
to
6686b56
Compare
Sorry for being a bit slow. Yes that works and looks a bit cleaner too. I've just pushed a new version (also rebased on the latest master) using this approach, thanks. |
Thank you @jwrdegoede ! |
Kernel 6.6 has made some significant changes to how v4l2-async (sub)dev registration works. Adjust the code accordingly.
Note this is based on building against a recent verison of the media_staging/master git tree. Since 6.6 has not been released yet there is a small chance that there might be some more work needed, but this should at least make things work with 6.6-rc1 once released.