typec_mode_selection_delete(9)
π typec_mode_selection_delete β Delete an alternate mode selection instance
okay bestie, welcome to the Kernel API Manual β¨ this one is short and sweet, but it's important, so pay attention π
πΈ NAME πΈ
typec_mode_selection_delete β delete an alternate mode selection instance ποΈβ¨
π¦ SYNOPSIS π¦
void typec_mode_selection_delete(struct typec_partner *partner);
π ARGUMENTS π
partnerβ handle to the Type-C partner device π keep this close, you're gonna need it.
π DESCRIPTION π
okay so here's the vibe: this function cancels a pending alternate mode selection request β like, the one that was previously started with typec_mode_selection_start π
so if you kicked something off and then need to take it back, this is your girl.
when does it get called, you ask? typically when the partner disconnects π«Ά like, the cable got yanked, the device dipped, and now you gotta clean up the pending request. it's giving responsible main character energy, honestly π
β SEE ALSO β
- Kernel file
./include/linux/usb/typec_altmode.h struct typec_altmode(9)struct typec_altmode_ops(9)struct typec_cable_ops(9)typec_altmode_get_cable_svdm_version(9)typec_altmode_get_orientation(9)typec_altmode_get_svdm_version(9)typec_altmode_get_data_role(9)struct typec_altmode_driver(9)typec_altmode_register_driver(9)typec_altmode_unregister_driver(9)typec_mode_selection_start(9)typec_altmode_state_update(9)
and that's the whole page, bestie π this icon lives in ./include/linux/usb, dated October 2026, and it's from the Kernel API Manual β typec_mode_selection_delete(9) fr fr π go delete those selections, slay π
β¨
π¦ 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