typec_mode_selection_delete(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 ⭐


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