cs4270_soc_put_mute(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cs4270_soc_put_mute(9) β€” Kernel API Manual ✨


🌸 NAME 🌸

okay bestie, this is cs4270_soc_put_mute β€” it’s the put callback for the 'Master Playback switch' alsa control. yes, that whole vibe πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

the whole signature, no cap:

int cs4270_soc_put_mute (struct snd_kcontrol *kcontrol , struct snd_ctl_elem_value *ucontrol );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • kcontrol β€” the mixer control 🎚️
  • ucontrol β€” the control element information ✨

πŸ’œ DESCRIPTION πŸ’œ

okay so basically this function passes the arguments on to the generic snd_soc_put_volsw function, and it saves the mute information in our private data structure. why? because we want to prevent cs4270_dai_mute neglecting the user’s decision to manually mute the codec’s output. user choice stays main character energy, periodt πŸ‘‘.

it returns 0 for success βœ….


🌈 SEE ALSO 🌈

Kernel file alert 🚨: ./sound/soc/codecs/cs4270.c


okay that’s the whole page, bestie β€” brought to you by source ./sound/soc/codecs 🌸, October 2026 edition, under the Kernel API Manual umbrella. mwah, go slay some mixer controls πŸ’…βœ¨

πŸ“¦ where this page comes from