€•¼bŒsphinx.addnodes”Œdocument”“”)”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)”}”(hhh]”(hŒ pending_xref”“”)”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…””}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ#/translations/zh_CN/sound/soc/codec”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ#/translations/zh_TW/sound/soc/codec”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ#/translations/it_IT/sound/soc/codec”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ#/translations/ja_JP/sound/soc/codec”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ#/translations/ko_KR/sound/soc/codec”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ#/translations/sp_SP/sound/soc/codec”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒASoC Codec Class Driver”h]”hŒASoC Codec Class Driver”…””}”(hh¨hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¦hh£hžhhŸŒ=/var/lib/git/docbuild/linux/Documentation/sound/soc/codec.rst”h KubhŒ paragraph”“”)”}”(hXVThe codec class driver is generic and hardware independent code that configures the codec, FM, MODEM, BT or external DSP to provide audio capture and playback. It should contain no code that is specific to the target platform or machine. All platform and machine specific code should be added to the platform and machine drivers respectively.”h]”hXVThe codec class driver is generic and hardware independent code that configures the codec, FM, MODEM, BT or external DSP to provide audio capture and playback. It should contain no code that is specific to the target platform or machine. All platform and machine specific code should be added to the platform and machine drivers respectively.”…””}”(hh¹hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khh£hžhubh¸)”}”(hŒ?Each codec class driver *must* provide the following features:-”h]”(hŒEach codec class driver ”…””}”(hhÇhžhhŸNh NubhŒemphasis”“”)”}”(hŒ*must*”h]”hŒmust”…””}”(hhÑhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÏhhÇubhŒ! provide the following features:-”…””}”(hhÇhžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K hh£hžhubhŒenumerated_list”“”)”}”(hhh]”(hŒ list_item”“”)”}”(hŒCodec DAI and PCM configuration”h]”h¸)”}”(hhòh]”hŒCodec DAI and PCM configuration”…””}”(hhôhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K hhðubah}”(h]”h ]”h"]”h$]”h&]”uh1hîhhëhžhhŸh¶h Nubhï)”}”(hŒ#Codec control IO - using RegMap API”h]”h¸)”}”(hj h]”hŒ#Codec control IO - using RegMap API”…””}”(hj hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khjubah}”(h]”h ]”h"]”h$]”h&]”uh1hîhhëhžhhŸh¶h Nubhï)”}”(hŒMixers and audio controls”h]”h¸)”}”(hj h]”hŒMixers and audio controls”…””}”(hj"hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khjubah}”(h]”h ]”h"]”h$]”h&]”uh1hîhhëhžhhŸh¶h Nubhï)”}”(hŒCodec audio operations”h]”h¸)”}”(hj7h]”hŒCodec audio operations”…””}”(hj9hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khj5ubah}”(h]”h ]”h"]”h$]”h&]”uh1hîhhëhžhhŸh¶h Nubhï)”}”(hŒDAPM description.”h]”h¸)”}”(hjNh]”hŒDAPM description.”…””}”(hjPhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KhjLubah}”(h]”h ]”h"]”h$]”h&]”uh1hîhhëhžhhŸh¶h Nubhï)”}”(hŒDAPM event handler. ”h]”h¸)”}”(hŒDAPM event handler.”h]”hŒDAPM event handler.”…””}”(hjghžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khjcubah}”(h]”h ]”h"]”h$]”h&]”uh1hîhhëhžhhŸh¶h Nubeh}”(h]”h ]”h"]”h$]”h&]”Œenumtype”Œarabic”Œprefix”hŒsuffix”Œ.”uh1héhh£hžhhŸh¶h K ubh¸)”}”(hŒ,Optionally, codec drivers can also provide:-”h]”hŒ,Optionally, codec drivers can also provide:-”…””}”(hj†hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khh£hžhubhê)”}”(hhh]”hï)”}”(hŒDAC Digital mute control. ”h]”h¸)”}”(hŒDAC Digital mute control.”h]”hŒDAC Digital mute control.”…””}”(hj›hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khj—ubah}”(h]”h ]”h"]”h$]”h&]”uh1hîhj”hžhhŸh¶h Nubah}”(h]”h ]”h"]”h$]”h&]”jj‚jƒhj„j…Œstart”Kuh1héhh£hžhhŸh¶h Kubh¸)”}”(hŒkIts probably best to use this guide in conjunction with the existing codec driver code in sound/soc/codecs/”h]”hŒkIts probably best to use this guide in conjunction with the existing codec driver code in sound/soc/codecs/”…””}”(hj¶hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khh£hžhubh¢)”}”(hhh]”(h§)”}”(hŒASoC Codec driver breakdown”h]”hŒASoC Codec driver breakdown”…””}”(hjÇhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¦hjÄhžhhŸh¶h Kubh¢)”}”(hhh]”(h§)”}”(hŒCodec DAI and PCM configuration”h]”hŒCodec DAI and PCM configuration”…””}”(hjØhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¦hjÕhžhhŸh¶h Kubh¸)”}”(hŒÉEach codec driver must have a struct snd_soc_dai_driver to define its DAI and PCM capabilities and operations. This struct is exported so that it can be registered with the core by your machine driver.”h]”hŒÉEach codec driver must have a struct snd_soc_dai_driver to define its DAI and PCM capabilities and operations. This struct is exported so that it can be registered with the core by your machine driver.”…””}”(hjæhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K hjÕhžhubh¸)”}”(hŒe.g. ::”h]”hŒe.g.”…””}”(hjôhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K$hjÕhžhubhŒ literal_block”“”)”}”(hXQstatic struct snd_soc_dai_ops wm8731_dai_ops = { .prepare = wm8731_pcm_prepare, .hw_params = wm8731_hw_params, .shutdown = wm8731_shutdown, .mute_stream = wm8731_mute, .set_sysclk = wm8731_set_dai_sysclk, .set_fmt = wm8731_set_dai_fmt, }; struct snd_soc_dai_driver wm8731_dai = { .name = "wm8731-hifi", .playback = { .stream_name = "Playback", .channels_min = 1, .channels_max = 2, .rates = WM8731_RATES, .formats = WM8731_FORMATS,}, .capture = { .stream_name = "Capture", .channels_min = 1, .channels_max = 2, .rates = WM8731_RATES, .formats = WM8731_FORMATS,}, .ops = &wm8731_dai_ops, .symmetric_rate = 1, };”h]”hXQstatic struct snd_soc_dai_ops wm8731_dai_ops = { .prepare = wm8731_pcm_prepare, .hw_params = wm8731_hw_params, .shutdown = wm8731_shutdown, .mute_stream = wm8731_mute, .set_sysclk = wm8731_set_dai_sysclk, .set_fmt = wm8731_set_dai_fmt, }; struct snd_soc_dai_driver wm8731_dai = { .name = "wm8731-hifi", .playback = { .stream_name = "Playback", .channels_min = 1, .channels_max = 2, .rates = WM8731_RATES, .formats = WM8731_FORMATS,}, .capture = { .stream_name = "Capture", .channels_min = 1, .channels_max = 2, .rates = WM8731_RATES, .formats = WM8731_FORMATS,}, .ops = &wm8731_dai_ops, .symmetric_rate = 1, };”…””}”hjsbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1jhŸh¶h K'hjÕhžhubeh}”(h]”Œcodec-dai-and-pcm-configuration”ah ]”h"]”Œcodec dai and pcm configuration”ah$]”h&]”uh1h¡hjÄhžhhŸh¶h Kubh¢)”}”(hhh]”(h§)”}”(hŒCodec control IO”h]”hŒCodec control IO”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¦hjhžhhŸh¶h KDubh¸)”}”(hXThe codec can usually be controlled via an I2C or SPI style interface (AC97 combines control with data in the DAI). The codec driver should use the Regmap API for all codec IO. Please see include/linux/regmap.h and existing codec drivers for example regmap usage.”h]”hXThe codec can usually be controlled via an I2C or SPI style interface (AC97 combines control with data in the DAI). The codec driver should use the Regmap API for all codec IO. Please see include/linux/regmap.h and existing codec drivers for example regmap usage.”…””}”(hj-hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KEhjhžhubeh}”(h]”Œcodec-control-io”ah ]”h"]”Œcodec control io”ah$]”h&]”uh1h¡hjÄhžhhŸh¶h KDubh¢)”}”(hhh]”(h§)”}”(hŒMixers and audio controls”h]”hŒMixers and audio controls”…””}”(hjFhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¦hjChžhhŸh¶h KLubh¸)”}”(hŒhAll the codec mixers and audio controls can be defined using the convenience macros defined in soc.h. ::”h]”hŒeAll the codec mixers and audio controls can be defined using the convenience macros defined in soc.h.”…””}”(hjThžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KMhjChžhubj)”}”(hŒ3#define SOC_SINGLE(xname, reg, shift, mask, invert)”h]”hŒ3#define SOC_SINGLE(xname, reg, shift, mask, invert)”…””}”hjbsbah}”(h]”h ]”h"]”h$]”h&]”jjuh1jhŸh¶h KQhjChžhubh¸)”}”(hŒ(Defines a single control as follows:- ::”h]”hŒ%Defines a single control as follows:-”…””}”(hjphžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KShjChžhubj)”}”(hŒ¾xname = Control name e.g. "Playback Volume" reg = codec register shift = control bit(s) offset in register mask = control bit size(s) e.g. mask of 7 = 3 bits invert = the control is inverted”h]”hŒ¾xname = Control name e.g. "Playback Volume" reg = codec register shift = control bit(s) offset in register mask = control bit size(s) e.g. mask of 7 = 3 bits invert = the control is inverted”…””}”hj~sbah}”(h]”h ]”h"]”h$]”h&]”jjuh1jhŸh¶h KVhjChžhubh¸)”}”(hŒOther macros include:- ::”h]”hŒOther macros include:-”…””}”(hjŒhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K\hjChžhubj)”}”(hŒE#define SOC_DOUBLE(xname, reg, shift_left, shift_right, mask, invert)”h]”hŒE#define SOC_DOUBLE(xname, reg, shift_left, shift_right, mask, invert)”…””}”hjšsbah}”(h]”h ]”h"]”h$]”h&]”jjuh1jhŸh¶h K_hjChžhubh¸)”}”(hŒA stereo control ::”h]”hŒA stereo control”…””}”(hj¨hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KahjChžhubj)”}”(hŒE#define SOC_DOUBLE_R(xname, reg_left, reg_right, shift, mask, invert)”h]”hŒE#define SOC_DOUBLE_R(xname, reg_left, reg_right, shift, mask, invert)”…””}”hj¶sbah}”(h]”h ]”h"]”h$]”h&]”jjuh1jhŸh¶h KdhjChžhubh¸)”}”(hŒ(A stereo control spanning 2 registers ::”h]”hŒ%A stereo control spanning 2 registers”…””}”(hjÄhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KfhjChžhubj)”}”(hŒ4#define SOC_ENUM_SINGLE(xreg, xshift, xmask, xtexts)”h]”hŒ4#define SOC_ENUM_SINGLE(xreg, xshift, xmask, xtexts)”…””}”hjÒsbah}”(h]”h ]”h"]”h$]”h&]”jjuh1jhŸh¶h KihjChžhubh¸)”}”(hŒ4Defines an single enumerated control as follows:- ::”h]”hŒ1Defines an single enumerated control as follows:-”…””}”(hjàhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KkhjChžhubj)”}”(hŒØxreg = register xshift = control bit(s) offset in register xmask = control bit(s) size xtexts = pointer to array of strings that describe each setting #define SOC_ENUM_DOUBLE(xreg, xshift_l, xshift_r, xmask, xtexts)”h]”hŒØxreg = register xshift = control bit(s) offset in register xmask = control bit(s) size xtexts = pointer to array of strings that describe each setting #define SOC_ENUM_DOUBLE(xreg, xshift_l, xshift_r, xmask, xtexts)”…””}”hjîsbah}”(h]”h ]”h"]”h$]”h&]”jjuh1jhŸh¶h KnhjChžhubh¸)”}”(hŒ#Defines a stereo enumerated control”h]”hŒ#Defines a stereo enumerated control”…””}”(hjühžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KuhjChžhubeh}”(h]”Œmixers-and-audio-controls”ah ]”h"]”Œmixers and audio controls”ah$]”h&]”uh1h¡hjÄhžhhŸh¶h KLubh¢)”}”(hhh]”(h§)”}”(hŒCodec Audio Operations”h]”hŒCodec Audio Operations”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¦hjhžhhŸh¶h Kyubh¸)”}”(hŒEThe codec driver also supports the following ALSA PCM operations:- ::”h]”hŒBThe codec driver also supports the following ALSA PCM operations:-”…””}”(hj#hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Kzhjhžhubj)”}”(hXE/* SoC audio ops */ struct snd_soc_ops { int (*startup)(struct snd_pcm_substream *); void (*shutdown)(struct snd_pcm_substream *); int (*hw_params)(struct snd_pcm_substream *, struct snd_pcm_hw_params *); int (*hw_free)(struct snd_pcm_substream *); int (*prepare)(struct snd_pcm_substream *); };”h]”hXE/* SoC audio ops */ struct snd_soc_ops { int (*startup)(struct snd_pcm_substream *); void (*shutdown)(struct snd_pcm_substream *); int (*hw_params)(struct snd_pcm_substream *, struct snd_pcm_hw_params *); int (*hw_free)(struct snd_pcm_substream *); int (*prepare)(struct snd_pcm_substream *); };”…””}”hj1sbah}”(h]”h ]”h"]”h$]”h&]”jjuh1jhŸh¶h K}hjhžhubh¸)”}”(hŒ’Please refer to the ALSA driver PCM documentation for details. https://www.kernel.org/doc/html/latest/sound/kernel-api/writing-an-alsa-driver.html”h]”(hŒ?Please refer to the ALSA driver PCM documentation for details. ”…””}”(hj?hžhhŸNh NubhŒ reference”“”)”}”(hŒShttps://www.kernel.org/doc/html/latest/sound/kernel-api/writing-an-alsa-driver.html”h]”hŒShttps://www.kernel.org/doc/html/latest/sound/kernel-api/writing-an-alsa-driver.html”…””}”(hjIhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”jKuh1jGhj?ubeh}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K†hjhžhubeh}”(h]”Œcodec-audio-operations”ah ]”h"]”Œcodec audio operations”ah$]”h&]”uh1h¡hjÄhžhhŸh¶h Kyubh¢)”}”(hhh]”(h§)”}”(hŒDAPM description”h]”hŒDAPM description”…””}”(hjihžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¦hjfhžhhŸh¶h K‹ubh¸)”}”(hŒÉThe Dynamic Audio Power Management description describes the codec power components and their relationships and registers to the ASoC core. Please read dapm.rst for details of building the description.”h]”hŒÉThe Dynamic Audio Power Management description describes the codec power components and their relationships and registers to the ASoC core. Please read dapm.rst for details of building the description.”…””}”(hjwhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KŒhjfhžhubh¸)”}”(hŒ4Please also see the examples in other codec drivers.”h]”hŒ4Please also see the examples in other codec drivers.”…””}”(hj…hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khjfhžhubeh}”(h]”Œdapm-description”ah ]”h"]”Œdapm description”ah$]”h&]”uh1h¡hjÄhžhhŸh¶h K‹ubh¢)”}”(hhh]”(h§)”}”(hŒDAPM event handler”h]”hŒDAPM event handler”…””}”(hjžhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¦hj›hžhhŸh¶h K”ubh¸)”}”(hŒªThis function is a callback that handles codec domain PM calls and system domain PM calls (e.g. suspend and resume). It is used to put the codec to sleep when not in use.”h]”hŒªThis function is a callback that handles codec domain PM calls and system domain PM calls (e.g. suspend and resume). It is used to put the codec to sleep when not in use.”…””}”(hj¬hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K•hj›hžhubh¸)”}”(hŒPower states:- ::”h]”hŒPower states:-”…””}”(hjºhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K™hj›hžhubj)”}”(hX.SNDRV_CTL_POWER_D0: /* full On */ /* vref/mid, clk and osc on, active */ SNDRV_CTL_POWER_D1: /* partial On */ SNDRV_CTL_POWER_D2: /* partial On */ SNDRV_CTL_POWER_D3hot: /* Off, with power */ /* everything off except vref/vmid, inactive */ SNDRV_CTL_POWER_D3cold: /* Everything Off, without power */”h]”hX.SNDRV_CTL_POWER_D0: /* full On */ /* vref/mid, clk and osc on, active */ SNDRV_CTL_POWER_D1: /* partial On */ SNDRV_CTL_POWER_D2: /* partial On */ SNDRV_CTL_POWER_D3hot: /* Off, with power */ /* everything off except vref/vmid, inactive */ SNDRV_CTL_POWER_D3cold: /* Everything Off, without power */”…””}”hjÈsbah}”(h]”h ]”h"]”h$]”h&]”jjuh1jhŸh¶h Kœhj›hžhubeh}”(h]”Œdapm-event-handler”ah ]”h"]”Œdapm event handler”ah$]”h&]”uh1h¡hjÄhžhhŸh¶h K”ubh¢)”}”(hhh]”(h§)”}”(hŒCodec DAC digital mute control”h]”hŒCodec DAC digital mute control”…””}”(hjáhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¦hjÞhžhhŸh¶h K©ubh¸)”}”(hŒ–Most codecs have a digital mute before the DACs that can be used to minimise any system noise. The mute stops any digital data from entering the DAC.”h]”hŒ–Most codecs have a digital mute before the DACs that can be used to minimise any system noise. The mute stops any digital data from entering the DAC.”…””}”(hjïhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KªhjÞhžhubh¸)”}”(hŒjA callback can be created that is called by the core for each codec DAI when the mute is applied or freed.”h]”hŒjA callback can be created that is called by the core for each codec DAI when the mute is applied or freed.”…””}”(hjýhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K®hjÞhžhubh¸)”}”(hŒi.e. ::”h]”hŒi.e.”…””}”(hj hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K±hjÞhžhubj)”}”(hX˜static int wm8974_mute(struct snd_soc_dai *dai, int mute, int direction) { struct snd_soc_component *component = dai->component; u16 mute_reg = snd_soc_component_read(component, WM8974_DAC) & 0xffbf; if (mute) snd_soc_component_write(component, WM8974_DAC, mute_reg | 0x40); else snd_soc_component_write(component, WM8974_DAC, mute_reg); return 0; }”h]”hX˜static int wm8974_mute(struct snd_soc_dai *dai, int mute, int direction) { struct snd_soc_component *component = dai->component; u16 mute_reg = snd_soc_component_read(component, WM8974_DAC) & 0xffbf; if (mute) snd_soc_component_write(component, WM8974_DAC, mute_reg | 0x40); else snd_soc_component_write(component, WM8974_DAC, mute_reg); return 0; }”…””}”hjsbah}”(h]”h ]”h"]”h$]”h&]”jjuh1jhŸh¶h K´hjÞhžhubeh}”(h]”Œcodec-dac-digital-mute-control”ah ]”h"]”Œcodec dac digital mute control”ah$]”h&]”uh1h¡hjÄhžhhŸh¶h K©ubeh}”(h]”Œasoc-codec-driver-breakdown”ah ]”h"]”Œasoc codec driver breakdown”ah$]”h&]”uh1h¡hh£hžhhŸh¶h Kubeh}”(h]”Œasoc-codec-class-driver”ah ]”h"]”Œasoc codec class driver”ah$]”h&]”uh1h¡hhhžhhŸh¶h Kubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”h¶uh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)”}”(h¦NŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”Œentry”Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”jbŒerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”h¶Œ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”Œnameids”}”(j<j9j4j1jjj@j=jj jcj`j˜j•jÛjØj,j)uŒ nametypes”}”(j<‰j4‰j‰j@‰j‰jc‰j˜‰jÛ‰j,‰uh}”(j9h£j1jÄjjÕj=jj jCj`jj•jfjØj›j)jÞuŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”(hŒsystem_message”“”)”}”(hhh]”h¸)”}”(hŒ:Enumerated list start value not ordinal-1: "7" (ordinal 7)”h]”hŒ>Enumerated list start value not ordinal-1: “7†(ordinal 7)”…””}”(hjÉhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hjÆubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”ŒINFO”Œsource”h¶Œline”Kuh1jÄhh£hžhhŸh¶h KubjÅ)”}”(hhh]”h¸)”}”(hŒfPossible title underline, too short for the title. Treating it as ordinary text because it's so short.”h]”hŒhPossible title underline, too short for the title. Treating it as ordinary text because it’s so short.”…””}”(hjåhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hjâubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”jߌline”K%Œsource”h¶uh1jÄhjÕhžhhŸh¶h K%ubjÅ)”}”(hhh]”h¸)”}”(hŒfPossible title underline, too short for the title. Treating it as ordinary text because it's so short.”h]”hŒhPossible title underline, too short for the title. Treating it as ordinary text because it’s so short.”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hjýubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”jߌline”KTŒsource”h¶uh1jÄhjChžhhŸh¶h KTubjÅ)”}”(hhh]”h¸)”}”(hŒfPossible title underline, too short for the title. Treating it as ordinary text because it's so short.”h]”hŒhPossible title underline, too short for the title. Treating it as ordinary text because it’s so short.”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hjubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”jߌline”K]Œsource”h¶uh1jÄhjChžhhŸh¶h K]ubjÅ)”}”(hhh]”h¸)”}”(hŒfPossible title underline, too short for the title. Treating it as ordinary text because it's so short.”h]”hŒhPossible title underline, too short for the title. Treating it as ordinary text because it’s so short.”…””}”(hj6hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hj3ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”jߌline”KbŒsource”h¶uh1jÄhjChžhhŸh¶h KbubjÅ)”}”(hhh]”h¸)”}”(hŒfPossible title underline, too short for the title. Treating it as ordinary text because it's so short.”h]”hŒhPossible title underline, too short for the title. Treating it as ordinary text because it’s so short.”…””}”(hjQhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hjNubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”jߌline”KgŒsource”h¶uh1jÄhjChžhhŸh¶h KgubjÅ)”}”(hhh]”h¸)”}”(hŒfPossible title underline, too short for the title. Treating it as ordinary text because it's so short.”h]”hŒhPossible title underline, too short for the title. Treating it as ordinary text because it’s so short.”…””}”(hjlhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hjiubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”jߌline”KlŒsource”h¶uh1jÄhjChžhhŸh¶h KlubjÅ)”}”(hhh]”h¸)”}”(hŒfPossible title underline, too short for the title. Treating it as ordinary text because it's so short.”h]”hŒhPossible title underline, too short for the title. Treating it as ordinary text because it’s so short.”…””}”(hj‡hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hj„ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”jߌline”K{Œsource”h¶uh1jÄhjhžhhŸh¶h K{ubjÅ)”}”(hhh]”h¸)”}”(hŒfPossible title underline, too short for the title. Treating it as ordinary text because it's so short.”h]”hŒhPossible title underline, too short for the title. Treating it as ordinary text because it’s so short.”…””}”(hj¢hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hjŸubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”jߌline”KšŒsource”h¶uh1jÄhj›hžhhŸh¶h KšubjÅ)”}”(hhh]”h¸)”}”(hŒfPossible title underline, too short for the title. Treating it as ordinary text because it's so short.”h]”hŒhPossible title underline, too short for the title. Treating it as ordinary text because it’s so short.”…””}”(hj½hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hjºubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”jߌline”K²Œsource”h¶uh1jÄhjÞhžhhŸh¶h K²ubeŒtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nhžhub.