Skip to content

HID: dockchannel: Test for the AFE inside the macsmc block - #415

Merged
RyanTheTide merged 1 commit into
integration/aurorafrom
ryan/j616s-dockchannel-409
Oct 24, 2026
Merged

RyanTheTide merged 1 commit into
integration/aurorafrom
ryan/j616s-dockchannel-409

Conversation

@RyanTheTide

Copy link
Copy Markdown
Contributor

Follow-up to #409 (jgoyvaerts, J616s keyboard and trackpad, merged as 37606d5).

Without MFD_MACSMC, the afe flag in dchid_reset_interface() was only used inside the IS_REACHABLE(CONFIG_MFD_MACSMC) block, so the build warned about an unused variable (an error with CONFIG_WERROR), as fbalazsy reported on #409. This tests the linked SMC and the interface index where they are used.

Built in our universal-config gate (7.3.0-aurora-73s, 0 warnings) and booted on the J616s and the Neo with the rest of #409.

🤖 Generated with Claude Code

Without MFD_MACSMC, the afe flag in dchid_reset_interface() was only
used inside the IS_REACHABLE(CONFIG_MFD_MACSMC) block, so the build
warned about an unused variable (an error with CONFIG_WERROR), as
fbalazsy reported on the pull request. Test the linked SMC and the
interface index where they are used.

Link: #409
Assisted-by: LLM
Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
@RyanTheTide
RyanTheTide merged commit 5ffa925 into integration/aurora Oct 24, 2026
@RyanTheTide
RyanTheTide deleted the ryan/j616s-dockchannel-409 branch October 24, 2026 02:35
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