bondagit / ravenna-alsa-lkm

RAVENNA ALSA LKM
19 stars 9 forks source link

Driver should be updated #14

Open olm52 opened 11 months ago

olm52 commented 11 months ago

From here: https://bitbucket.org/MergingTechnologies/ravenna-alsa-lkm/src/master/ I see there are some recent updates

Matzeee commented 8 months ago

I also overlooked, that branch aes67-daemon is way more up to date than master.

However, is this commit possibly relevant? https://bitbucket.org/MergingTechnologies/ravenna-alsa-lkm/commits/47d8ee010304f3bdff11e4c18ad0ca1a9f4cb5af

bondagit commented 8 months ago

Thanks for this info. I am testing this change and if ok I will release a new version of the driver.

bondagit commented 8 months ago

no go. I am having platform test failure if I apply this patch. Instead of using the timer mode HRTIMER_MODE_ABS_SOFT mode, on Linux Kernels > 5.x, I stick to HRTIMER_MODE_ABS and on timeout I schedule a tasklet that in turns is calling the timer callback. According to my tests this solution provides better results.

olm52 commented 1 month ago

Not compiling with kernel 6.11:

/var/lib/dkms/ravenna-alsa-lkm/r153.9897287/build/audio_driver.c:2218:19: error: incompatible function pointer types initializing 'void ()(struct platform_device )' with an expression of type 'int (struct platform_device *)' [-Wincompatible-function-pointer-types]

bondagit commented 1 month ago

Not compiling with kernel 6.11:

/var/lib/dkms/ravenna-alsa-lkm/r153.9897287/build/audio_driver.c:2218:19: error: incompatible function pointer types initializing 'void ()(struct platform_device )' with an expression of type 'int (struct platform_device *)' [-Wincompatible-function-pointer-types]

See #22