Skip to content

xpadneo: Remove deprecated ida_simple_xx() usage#566

Closed
orderedstereographic wants to merge 1 commit intoatar-axis:masterfrom
orderedstereographic:fix-562
Closed

xpadneo: Remove deprecated ida_simple_xx() usage#566
orderedstereographic wants to merge 1 commit intoatar-axis:masterfrom
orderedstereographic:fix-562

Conversation

@orderedstereographic
Copy link
Copy Markdown
Contributor

Update to use ida_alloc() and ida_free() in place of the deprecated ida_simple_get() and ida_simple_remove() calls. Linux has removed this API in the v6.18 release candidates. ida_simple_xx() has been deprecated since v5.10 and the new API was introduced in v4.19.

Closes: #562


This change was based on https://lore.kernel.org/all/2ce706d3242b9d3e4b9c20c0a7d9a8afcf8897ec.1729423829.git.christophe.jaillet@wanadoo.fr/ which updated which API was used for a GPIO driver.

I tested the build against 6.18-rc2 and I see no change in behavior when using my controller.

Update to use ida_alloc() and ida_free() in place of the deprecated
ida_simple_get() and ida_simple_remove() calls. Linux has removed this
API in the v6.18 release candidates. ida_simple_xx() has been deprecated since
v5.10 and the new API was introduced in v4.19.

Closes: atar-axis#562
@kakra
Copy link
Copy Markdown
Collaborator

kakra commented Oct 24, 2025

Thanks, so we'll need to bump the minimum kernel requirement to 4.19. I have one patch queued around these lines, I'd like to merge those first, then we'll need a rebase of this.

@kakra kakra added the 0 | type: enhancement New feature or request label Oct 24, 2025
@kakra kakra added this to the v0.10 milestone Oct 24, 2025
kakra added a commit to kakra/xpadneo that referenced this pull request Nov 7, 2025
Update to use ida_alloc() and ida_free() in place of the deprecated
ida_simple_get() and ida_simple_remove() calls. Linux has removed this
API in the v6.18 release candidates. ida_simple_xx() has been
deprecated since v5.10 and the new API was introduced in v4.19.

Co-authored-by: orderedstereographic <161899146+orderedstereographic@users.noreply.github.com>
Fixes: atar-axis#562
Closes: atar-axis#566
Signed-off-by: Kai Krakow <kai@kaishome.de>
@kakra
Copy link
Copy Markdown
Collaborator

kakra commented Nov 17, 2025

This is in my patch queue to properly merge it with some memory cleanups and bump the minimum version requirement. This PR will be automatically closed once the patches reach master.

brianmcgillion added a commit to brianmcgillion/ghaf that referenced this pull request Dec 4, 2025
atar-axis/xpadneo#566 the version of xpad neo in
mainline is still using a deprecated function. That function is now
obselete in linux 6.18.

Disable until this fix is merged and nixpkgs pulls the latest. Watchers set.

Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
brianmcgillion added a commit to tiiuae/ghaf that referenced this pull request Dec 4, 2025
atar-axis/xpadneo#566 the version of xpad neo in
mainline is still using a deprecated function. That function is now
obselete in linux 6.18.

Disable until this fix is merged and nixpkgs pulls the latest. Watchers set.

Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
juliuskoskela pushed a commit to juliuskoskela/ghaf that referenced this pull request Dec 16, 2025
atar-axis/xpadneo#566 the version of xpad neo in
mainline is still using a deprecated function. That function is now
obselete in linux 6.18.

Disable until this fix is merged and nixpkgs pulls the latest. Watchers set.

Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
@kakra kakra closed this in 6168033 Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0 | type: enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build issue on kernel 6.17.0+

2 participants