<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/include/sound/soc.h, branch linux-6.14.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.14.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.14.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2025-03-05T17:25:25Z</updated>
<entry>
<title>ASoC: ops: Consistently treat platform_max as control value</title>
<updated>2025-03-05T17:25:25Z</updated>
<author>
<name>Charles Keepax</name>
</author>
<published>2025-02-28T15:14:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0eba2a7e858907a746ba69cd002eb9eb4dbd7bf3'/>
<id>urn:sha1:0eba2a7e858907a746ba69cd002eb9eb4dbd7bf3</id>
<content type='text'>
This reverts commit 9bdd10d57a88 ("ASoC: ops: Shift tested values in
snd_soc_put_volsw() by +min"), and makes some additional related
updates.

There are two ways the platform_max could be interpreted; the maximum
register value, or the maximum value the control can be set to. The
patch moved from treating the value as a control value to a register
one. When the patch was applied it was technically correct as
snd_soc_limit_volume() also used the register interpretation. However,
even then most of the other usages treated platform_max as a
control value, and snd_soc_limit_volume() has since been updated to
also do so in commit fb9ad24485087 ("ASoC: ops: add correct range
check for limiting volume"). That patch however, missed updating
snd_soc_put_volsw() back to the control interpretation, and fixing
snd_soc_info_volsw_range(). The control interpretation makes more
sense as limiting is typically done from the machine driver, so it is
appropriate to use the customer facing representation rather than the
internal codec representation. Update all the code to consistently use
this interpretation of platform_max.

Finally, also add some comments to the soc_mixer_control struct to
hopefully avoid further patches switching between the two approaches.

Fixes: fb9ad24485087 ("ASoC: ops: add correct range check for limiting volume")
Signed-off-by: Charles Keepax &lt;ckeepax@opensource.cirrus.com&gt;
Link: https://patch.msgid.link/20250228151456.3703342-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: soc-core: Enable to use extra format on each DAI</title>
<updated>2025-01-13T14:16:55Z</updated>
<author>
<name>Kuninori Morimoto</name>
</author>
<published>2025-01-06T05:49:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=24410f499e808884cc91239dc16013e5bee8779a'/>
<id>urn:sha1:24410f499e808884cc91239dc16013e5bee8779a</id>
<content type='text'>
Current ASoC is using dai_link-&gt;dai_fmt to set DAI format for both
CPU/Codec. But because it is using same settings, and
SND_SOC_DAIFMT_CLOCK_PROVIDER is flipped for CPU, we can't set both
CPU/Codec as clock consumer, for example.

To solve this issue, this patch enable to use extra format for each
DAI which can keep compatibility with legacy system,

	1. SND_SOC_DAIFMT_FORMAT_MASK
	2. SND_SOC_DAIFMT_CLOCK
	3. SND_SOC_DAIFMT_INV
	4. SND_SOC_DAIFMT_CLOCK_PROVIDER

	Legacy
		dai_fmt  includes 1, 2, 3, 4

	New idea
		dai_fmt  includes 1, 2, 3
		ext_fmt  includes 4

Signed-off-by: Kuninori Morimoto &lt;kuninori.morimoto.gx@renesas.com&gt;
Tested-by: Stephen Gordon &lt;gordoste@iinet.net.au&gt;
Link: https://patch.msgid.link/87r05go5ja.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: remove disable_route_checks</title>
<updated>2025-01-09T13:51:36Z</updated>
<author>
<name>Kuninori Morimoto</name>
</author>
<published>2025-01-09T00:14:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dd2395162c07e4102fc83878dc394ff63f2eaae8'/>
<id>urn:sha1:dd2395162c07e4102fc83878dc394ff63f2eaae8</id>
<content type='text'>
No driver is using disable_route_checks, let's remove it.

Because snd_soc_dapm_add_routes() itself will indicate detail error
when failed, this patch removes duplicate dev_err() not only
dev_warn() in error case.

Signed-off-by: Kuninori Morimoto &lt;kuninori.morimoto.gx@renesas.com&gt;
Suggested-by: Amadeusz Sławiński &lt;amadeuszx.slawinski@linux.intel.com&gt;
Tested-by: Amadeusz Sławiński &lt;amadeuszx.slawinski@linux.intel.com&gt;
Link: https://patch.msgid.link/87tta8268e.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: cleanup function parameter for rtd and its id</title>
<updated>2024-11-01T14:48:16Z</updated>
<author>
<name>Kuninori Morimoto</name>
</author>
<published>2024-10-24T01:29:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8b12da9a18f4dd53e4b3a7393829a555e84f073c'/>
<id>urn:sha1:8b12da9a18f4dd53e4b3a7393829a555e84f073c</id>
<content type='text'>
some functions had parameter like below

	xxx(..., rtd, ..., id);

This "id" is rtd-&gt;id. We don't need to have "id" on each functions
because we can get it from "rtd". Let's cleanup it.

Signed-off-by: Kuninori Morimoto &lt;kuninori.morimoto.gx@renesas.com&gt;
Link: https://patch.msgid.link/87plnqb84p.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: remove rtd-&gt;num</title>
<updated>2024-11-01T14:48:14Z</updated>
<author>
<name>Kuninori Morimoto</name>
</author>
<published>2024-10-24T01:29:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c59db5ed233a19f6aadd086fb89149ec5f6fa855'/>
<id>urn:sha1:c59db5ed233a19f6aadd086fb89149ec5f6fa855</id>
<content type='text'>
No one is using rtd-&gt;num. Let's remove it.

Signed-off-by: Kuninori Morimoto &lt;kuninori.morimoto.gx@renesas.com&gt;
Link: https://patch.msgid.link/87sesmb852.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: rename rtd-&gt;num to rtd-&gt;id</title>
<updated>2024-11-01T14:48:09Z</updated>
<author>
<name>Kuninori Morimoto</name>
</author>
<published>2024-10-24T01:29:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=40e47e2db6864aa053a62477bd71a16be9dd4066'/>
<id>urn:sha1:40e47e2db6864aa053a62477bd71a16be9dd4066</id>
<content type='text'>
Current rtd has "num". It sounds/looks like size of rtd or something,
but it will be mainly used at snd_pcm_new() as "device index".
This naming is confusable. Let's rename it to "id"

Some drivers are using rtd-&gt;num, so let's keep it so far, and remove
it if all user was switched.

Signed-off-by: Kuninori Morimoto &lt;kuninori.morimoto.gx@renesas.com&gt;
Link: https://patch.msgid.link/87zfmub85z.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: soc-devres: Remove unused devm_snd_soc_register_dai</title>
<updated>2024-10-28T12:23:27Z</updated>
<author>
<name>Dr. David Alan Gilbert</name>
</author>
<published>2024-10-28T02:12:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dea15b2abdb09608af5909ed7d168ec20f36a81a'/>
<id>urn:sha1:dea15b2abdb09608af5909ed7d168ec20f36a81a</id>
<content type='text'>
The last use of devm_snd_soc_register_dai() was removed by
commit fc4cb1e15f0c ("ASoC: topology: Properly unregister DAI on removal")
in 2021.

Remove it, and the helper it used.

Signed-off-by: Dr. David Alan Gilbert &lt;linux@treblig.org&gt;
Link: https://patch.msgid.link/20241028021226.477909-1-linux@treblig.org
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: soc-pcm: remove dpcm_xxx flags</title>
<updated>2024-10-23T12:02:03Z</updated>
<author>
<name>Kuninori Morimoto</name>
</author>
<published>2024-10-20T23:59:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c7ae6551533e7c7bf903a2d259044778f4b103ce'/>
<id>urn:sha1:c7ae6551533e7c7bf903a2d259044778f4b103ce</id>
<content type='text'>
dpcm_xxx flags are no longer needed. Let's remove it.

Signed-off-by: Kuninori Morimoto &lt;kuninori.morimoto.gx@renesas.com&gt;
Link: https://patch.msgid.link/875xpm9vh3.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: makes snd_soc_set_runtime_hwparams() inline</title>
<updated>2024-10-17T11:13:08Z</updated>
<author>
<name>Kuninori Morimoto</name>
</author>
<published>2024-10-16T01:35:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0d3039f4d2f4a79798d97f2ac1a9656b055b561f'/>
<id>urn:sha1:0d3039f4d2f4a79798d97f2ac1a9656b055b561f</id>
<content type='text'>
snd_soc_set_runtime_hwparams() is now doing very simple things.
We can makes it simply inline function, without having EXPORT_SYMBOL_GPL()

Signed-off-by: Kuninori Morimoto &lt;kuninori.morimoto.gx@renesas.com&gt;
Link: https://patch.msgid.link/87cyk0eso0.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: makes rtd-&gt;initialized bit field</title>
<updated>2024-09-06T13:36:44Z</updated>
<author>
<name>Kuninori Morimoto</name>
</author>
<published>2024-09-05T05:14:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4849b2f78020cf0e3ba67777aadd07c620c91811'/>
<id>urn:sha1:4849b2f78020cf0e3ba67777aadd07c620c91811</id>
<content type='text'>
rtd-&gt;initialized is used to know whether soc_init_pcm_runtime()
was correctly fined, and used to call snd_soc_link_exit().
We don't need to have it as bool, let's make it bit-field same as
other flags.

Signed-off-by: Kuninori Morimoto &lt;kuninori.morimoto.gx@renesas.com&gt;
Cc: Amadeusz Sławiński &lt;amadeuszx.slawinski@linux.intel.com&gt;
Cc: Cezary Rojewski &lt;cezary.rojewski@intel.com&gt;
Link: https://patch.msgid.link/87o752k7gq.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
</feed>
