mux_state_deselect(9)
mux_state_deselect(9)
okay so welcome to the Kernel API Manual, bestie π this is the page for mux_state_deselect(9), aka the βokay weβre done with that mux state nowβ icon. Grab a lil snack π and letβs go.
π NAME π
mux_state_deselect β Deselect the previously selected multiplexer state.
β¨ SYNOPSIS β¨
int mux_state_deselect (struct mux_state *mstate );
π ARGUMENTS π
mstateβ The mux-state to deselect. Thatβs the one, bestie.
π¦ DESCRIPTION π¦
okay so the rule is literally: a single call to mux_state_deselect is required for each and every successful call made to either mux_state_select or mux_state_try_select. No cap. If a select succeeds, its matching deselect has to show up exactly once. Itβs giving βpair your socksβ energy π§¦β¨
bestie the pairing is not optional β one successful select/try-select = one mux_state_deselect call.
π₯ RETURN π₯
0 on success, and a negative errno on error. An error can only occur if the mux has an idle state. And even if an error occurs, the mux-control is unlocked and is thus free for the next access β so itβs not gonna ghost the next caller, periodt. π
π SEE ALSO π
- Kernel file:
./drivers/mux/core.c struct mux_state(9)struct devm_mux_state_state(9)mux_chip_alloc(9)mux_chip_register(9)mux_chip_unregister(9)mux_chip_free(9)devm_mux_chip_alloc(9)devm_mux_chip_register(9)mux_control_states(9)mux_control_select_delay(9)mux_state_select_delay(9)mux_control_try_select_delay(9)mux_state_try_select_delay(9)mux_control_deselect(9)mux_get(9)mux_control_get(9)mux_control_get_optional(9)mux_control_put(9)devm_mux_control_get(9)mux_state_get(9)__devm_mux_state_get(9)devm_mux_state_get_from_np(9)devm_mux_state_get_optional(9)devm_mux_state_get_selected(9)devm_mux_state_get_optional_selected(9)
okay bye bestie π«Ά this lil page comes from source/version ./drivers/mux and is dated October 2026 β mux_state_deselect(9), signing off β¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms