<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/include/sound/simple_card_utils.h, branch linux-6.8.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.8.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.8.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2023-12-14T10:56:47Z</updated>
<entry>
<title>ASoC: audio-graph-card2: Introduce playback-only/capture-only DAI link flags</title>
<updated>2023-12-14T10:56:47Z</updated>
<author>
<name>Daniel Baluta</name>
</author>
<published>2023-11-28T08:11:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d29351e8c20d61a852bbdfcab7bb7166bd916558'/>
<id>urn:sha1:d29351e8c20d61a852bbdfcab7bb7166bd916558</id>
<content type='text'>
We need this to support MICFIL PDM found on i.MX8MP where the DAI link
supports only capture direction.

Signed-off-by: Daniel Baluta &lt;daniel.baluta@nxp.com&gt;
Link: https://msgid.link/r/20231128081119.106360-2-daniel.baluta@oss.nxp.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: simple-card-utils: Make simple_util_remove() return void</title>
<updated>2023-10-23T12:29:45Z</updated>
<author>
<name>Uwe Kleine-König</name>
</author>
<published>2023-10-13T22:19:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=393df6f321c757d164fa412b7eae527a8e2acb75'/>
<id>urn:sha1:393df6f321c757d164fa412b7eae527a8e2acb75</id>
<content type='text'>
The .remove() callback for a platform driver returns an int which makes
many driver authors wrongly assume it's possible to do error handling by
returning an error code.  However the value returned is (mostly) ignored
and this typically results in resource leaks. To improve here there is a
quest to make the remove callback return void. In the first step of this
quest all drivers are converted to .remove_new() which already returns
void.

simple_util_remove() returned zero unconditionally. Make it return void
instead and convert all users to struct platform_device::remove_new().

Signed-off-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
Reviewed-by: Herve Codina &lt;herve.codina@bootlin.com&gt;
Link: https://lore.kernel.org/r/20231013221945.1489203-13-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: remove asoc_xxx() compatible macro</title>
<updated>2023-09-26T15:18:45Z</updated>
<author>
<name>Kuninori Morimoto</name>
</author>
<published>2023-09-26T06:27:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ad484cc98f2c7ee8e22f63691562a7abae5a9832'/>
<id>urn:sha1:ad484cc98f2c7ee8e22f63691562a7abae5a9832</id>
<content type='text'>
No driver is using asoc_xxx() any more.
This patch removes compatible macro for asoc_xxx().

Signed-off-by: Kuninori Morimoto &lt;kuninori.morimoto.gx@renesas.com&gt;
Link: https://lore.kernel.org/r/878r8tfo06.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: simple_card_utils.h: convert not to use asoc_xxx()</title>
<updated>2023-09-25T12:16:14Z</updated>
<author>
<name>Kuninori Morimoto</name>
</author>
<published>2023-09-11T23:47:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b5a95c5bf6d6953d05b2c12acc8c07783232bea9'/>
<id>urn:sha1:b5a95c5bf6d6953d05b2c12acc8c07783232bea9</id>
<content type='text'>
ASoC is using 2 type of prefix (asoc_xxx() vs snd_soc_xxx()),
but these are unified into snd_soc_xxx().

simple_card / audio_graph drivers are historically using
asoc_xxx() prefix too. simple_card / audio_graph are not
ASoC framework, so let's use simple_card_xxx_() / audio_graph_xxx()
for global function prefix.

This patch has asoc_xxx() as define to keep compatible.
It will be removed if all drivers were switched to new style.

Signed-off-by: Kuninori Morimoto &lt;kuninori.morimoto.gx@renesas.com&gt;
Link: https://lore.kernel.org/r/87edj4s26a.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: simple-card-utils.c: enable multi Component support</title>
<updated>2023-07-17T05:15:47Z</updated>
<author>
<name>Kuninori Morimoto</name>
</author>
<published>2023-07-10T01:20:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=90de551c1bf0c78ca5cd10c5ff424dee4d44cb1c'/>
<id>urn:sha1:90de551c1bf0c78ca5cd10c5ff424dee4d44cb1c</id>
<content type='text'>
If CPU/Codec driver keeps its DAI node, we can directly identify actual
DAI by using snd_soc_get_dai_via_args().
This means we can use multi Component.

This patch enables multi Component support on Audio Graph Card/Card2.

Signed-off-by: Kuninori Morimoto &lt;kuninori.morimoto.gx@renesas.com&gt;
Link: https://lore.kernel.org/r/87a5w4o949.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: simple_card_utils: remove unused cpus/codecs/platforms from props</title>
<updated>2023-06-15T11:08:41Z</updated>
<author>
<name>Kuninori Morimoto</name>
</author>
<published>2023-06-15T05:32:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=45b4ad53d4840d92681060c11fcd4f55b1c2f246'/>
<id>urn:sha1:45b4ad53d4840d92681060c11fcd4f55b1c2f246</id>
<content type='text'>
simple_dai_props has cpus/codecs/platforms. These pointer were used
for dai_link before, but are allocated today since
commit 050c7950fd70 ("ASoC: simple-card-utils: alloc dai_link
information for CPU/Codec/Platform").
We don't need to keep it anymore. This patch removes these.

Signed-off-by: Kuninori Morimoto &lt;kuninori.morimoto.gx@renesas.com&gt;
Link: https://lore.kernel.org/r/87bkhhxpc6.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: simple-card-utils.c: share asoc_graph_parse_dai()</title>
<updated>2023-06-14T13:47:53Z</updated>
<author>
<name>Kuninori Morimoto</name>
</author>
<published>2023-06-14T00:02:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fed4be313a55e9a19fdabe99d1ec373e25889e2c'/>
<id>urn:sha1:fed4be313a55e9a19fdabe99d1ec373e25889e2c</id>
<content type='text'>
Current Audio Graph Card/Card2 implements asoc_simple_parse_dai()
on each driver, but these are same function.
This patch share it as asoc_graph_parse_dai().

Signed-off-by: Kuninori Morimoto &lt;kuninori.morimoto.gx@renesas.com&gt;
Link: https://lore.kernel.org/r/87o7lihpvy.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: simple_card_utils.c: use asoc_dummy_dlc</title>
<updated>2023-05-07T23:47:14Z</updated>
<author>
<name>Kuninori Morimoto</name>
</author>
<published>2023-04-24T02:37:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4d626112565f58f03de692851007d64c6a6341c5'/>
<id>urn:sha1:4d626112565f58f03de692851007d64c6a6341c5</id>
<content type='text'>
Now we can share asoc_dummy_dlc. This patch use it.

Signed-off-by: Kuninori Morimoto &lt;kuninori.morimoto.gx@renesas.com
Link: https://lore.kernel.org/r/87ttx6ypi3.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org
</content>
</entry>
<entry>
<title>ASoC: simple-card-utils: create jack inputs for aux_devs</title>
<updated>2023-01-27T12:20:55Z</updated>
<author>
<name>Astrid Rost</name>
</author>
<published>2023-01-23T13:59:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9b271207ac83db362fac757d367923bde57dce86'/>
<id>urn:sha1:9b271207ac83db362fac757d367923bde57dce86</id>
<content type='text'>
Add a generic way to create jack inputs for auxiliary jack detection
drivers (e.g. via i2c, spi), which are not part of any real codec.
The simple-card can be used as combining card driver to add the jacks,
no new one is required.

Create a jack (for input-events) for jack devices in the auxiliary
device list (aux_devs). A device which returns a valid value on
get_jack_type counts as jack device; set_jack is required
to add the jack to the device.

Signed-off-by: Astrid Rost &lt;astrid.rost@axis.com&gt;
Link: https://lore.kernel.org/r/20230123135913.2720991-3-astrid.rost@axis.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: simple-card-utils: remove asoc_simple_convert_fixup()</title>
<updated>2022-11-07T13:58:05Z</updated>
<author>
<name>Kuninori Morimoto</name>
</author>
<published>2022-11-01T04:21:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5c065eaf445d14e70cbdb1da75e12567c7ae9b91'/>
<id>urn:sha1:5c065eaf445d14e70cbdb1da75e12567c7ae9b91</id>
<content type='text'>
No one is using asoc_simple_convert_fixup(), we don't need to
export its symbol. This patch removes it.

Signed-off-by: Kuninori Morimoto &lt;kuninori.morimoto.gx@renesas.com&gt;
Link: https://lore.kernel.org/r/874jvj8ftp.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
</feed>
