Skip to content

Fix build errors on kernel 5.12+ - #2

Open
alex-vyverman wants to merge 1 commit into
Digigram-audio:masterfrom
alex-vyverman:fix/kernel-6.12-compat
Open

alex-vyverman wants to merge 1 commit into
Digigram-audio:masterfrom
alex-vyverman:fix/kernel-6.12-compat

Conversation

@alex-vyverman

Copy link
Copy Markdown

This PR fixes compilation errors when building the lxipmadi driver on modern kernels (5.12+).

Changes

  • lx_core.h: Replace snd_printdd() with pr_debug() — snd_printdd was removed from ALSA kernel headers
  • lxmadi.c: Remove MODULE_SUPPORTED_DEVICE() — macro removed in kernel 5.12 (commit)
  • lxip.c: Same MODULE_SUPPORTED_DEVICE() removal

Tested on

  • Kernel: 6.12.63+deb13-amd64 (Debian Trixie)
  • Hardware: Digigram LX-IP (PCI 10b5:9056)
  • DKMS build and modprobe both succeed; card detected by ALSA

- Replace snd_printdd() with pr_debug() in lx_core.h
  (snd_printdd was removed from ALSA headers)
- Remove MODULE_SUPPORTED_DEVICE() from lxmadi.c and lxip.c
  (macro was removed in kernel 5.12)

Tested on kernel 6.12.63+deb13-amd64 (Debian Trixie).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant