cs4270_soc_put_mute(9)
π 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
struct cs4270_mode_ratios(9)cs4270_set_dai_sysclk(9)cs4270_set_dai_fmt(9)cs4270_hw_params(9)cs4270_dai_mute(9)cs4270_probe(9)cs4270_remove(9)cs4270_i2c_remove(9)cs4270_i2c_probe(9)
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
- 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