<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/sound/soc/fsl/fsl_utils.c, branch master</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=master</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2024-12-09T13:11:09Z</updated>
<entry>
<title>ASoC: fsl_utils: Add function to constrain rates</title>
<updated>2024-12-09T13:11:09Z</updated>
<author>
<name>Chancel Liu</name>
</author>
<published>2024-11-26T11:54:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=820bcaeb1ff5705ba907563e554f17d0deecc3fa'/>
<id>urn:sha1:820bcaeb1ff5705ba907563e554f17d0deecc3fa</id>
<content type='text'>
Platforms like i.MX93/91 only have one audio PLL. Some sample rates are
not supported. Add common function to constrain rates according to
different clock sources.

Signed-off-by: Chancel Liu &lt;chancel.liu@nxp.com&gt;
Link: https://patch.msgid.link/20241126115440.3929061-2-chancel.liu@nxp.com
Acked-by: Shengjiu Wang &lt;shengjiu.wang@gmail.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: fsl: fsl-utils: remove useless assignment</title>
<updated>2022-08-31T11:13:03Z</updated>
<author>
<name>Pierre-Louis Bossart</name>
</author>
<published>2022-08-22T18:42:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3653a6a2a7c146f04940d572d2728c939b50cba1'/>
<id>urn:sha1:3653a6a2a7c146f04940d572d2728c939b50cba1</id>
<content type='text'>
cppcheck warning:

sound/soc/fsl/fsl_utils.c:127:10: style: Variable 'ret' is assigned a
value that is never used. [unreadVariable]
 int ret = 0;
         ^

Signed-off-by: Pierre-Louis Bossart &lt;pierre-louis.bossart@linux.intel.com&gt;
Reviewed-by: Bard Liao &lt;yung-chuan.liao@linux.intel.com&gt;
Reviewed-by: Kai Vehmanen &lt;kai.vehmanen@linux.intel.com&gt;
Reviewed-by: Chao Song &lt;chao.song@intel.com&gt;
Acked-by: Shengjiu Wang &lt;shengjiu.wang@gmail.com&gt;
Link: https://lore.kernel.org/r/20220822184239.169757-5-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: fsl_utils: Drop usage of __clk_get_name()</title>
<updated>2022-07-11T11:06:29Z</updated>
<author>
<name>Shengjiu Wang</name>
</author>
<published>2022-07-11T02:39:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=eaa27e7fe43f16fe587c3e93fd5c25ce86be3c43'/>
<id>urn:sha1:eaa27e7fe43f16fe587c3e93fd5c25ce86be3c43</id>
<content type='text'>
Avoid build errors when CONFIG_COMMON_CLK is not set/enabled.

ERROR: modpost: "__clk_get_name" [sound/soc/fsl/snd-soc-fsl-utils.ko] undefined!

Fixes: 7bad8125549c ("ASoC: fsl_utils: Add function to handle PLL clock source")
Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Signed-off-by: Shengjiu Wang &lt;shengjiu.wang@nxp.com&gt;
Link: https://lore.kernel.org/r/1657507190-14546-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: fsl_utils: Don't use plain integer as NULL pointer</title>
<updated>2022-07-07T15:25:04Z</updated>
<author>
<name>Shengjiu Wang</name>
</author>
<published>2022-07-07T11:20:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=050237e6b0bea0fafbf7d3d57e717c6fa1e4e819'/>
<id>urn:sha1:050237e6b0bea0fafbf7d3d57e717c6fa1e4e819</id>
<content type='text'>
Fix sparse warning:
sound/soc/fsl/fsl_utils.c:125:31: sparse: warning: Using plain integer as NULL pointer
sound/soc/fsl/fsl_utils.c:125:42: sparse: warning: Using plain integer as NULL pointer

Fixes: 7bad8125549c ("ASoC: fsl_utils: Add function to handle PLL clock source")
Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Signed-off-by: Shengjiu Wang &lt;shengjiu.wang@nxp.com&gt;
Link: https://lore.kernel.org/r/1657192806-10569-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: fsl_utils: Add function to handle PLL clock source</title>
<updated>2022-07-05T12:00:37Z</updated>
<author>
<name>Shengjiu Wang</name>
</author>
<published>2022-07-01T09:32:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7bad8125549cda14d9ccf97d7d76f7ef6ac9d206'/>
<id>urn:sha1:7bad8125549cda14d9ccf97d7d76f7ef6ac9d206</id>
<content type='text'>
i.MX8MQ/MN/MM/MP platforms typically have 2 AUDIO PLLs being
configured to handle 8kHz and 11kHz series audio rates.
Add common function in fsl_utils to handle these two PLL
clock source, which are needed by CPU DAI drivers

Signed-off-by: Shengjiu Wang &lt;shengjiu.wang@nxp.com&gt;
Link: https://lore.kernel.org/r/1656667961-1799-2-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: fsl: mpc8610_hpcd/p1022_ds/p1022_rdk: use modern dai_link style</title>
<updated>2019-06-06T20:42:35Z</updated>
<author>
<name>Kuninori Morimoto</name>
</author>
<published>2019-06-06T04:15:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6aa7b4091d0bd3866d42e368ef32674aa1c155cc'/>
<id>urn:sha1:6aa7b4091d0bd3866d42e368ef32674aa1c155cc</id>
<content type='text'>
ASoC is now supporting modern style dai_link
(= snd_soc_dai_link_component) for CPU/Codec/Platform.
This patch switches to use it.

mpc8610_hpcd/p1022_ds/p1022_rdk are sharing fsl_asoc_get_dma_channel()
which setups platform. We need to update these by 1 patch.

Signed-off-by: Kuninori Morimoto &lt;kuninori.morimoto.gx@renesas.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: fsl_utils: fix a leaked reference by adding missing of_node_put</title>
<updated>2019-04-02T05:58:07Z</updated>
<author>
<name>Wen Yang</name>
</author>
<published>2019-02-26T08:17:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c705247136a523488eac806bd357c3e5d79a7acd'/>
<id>urn:sha1:c705247136a523488eac806bd357c3e5d79a7acd</id>
<content type='text'>
The call to of_parse_phandle returns a node pointer with refcount
incremented thus it must be explicitly decremented after the last
usage.

Detected by coccinelle with the following warnings:
./sound/soc/fsl/fsl_utils.c:74:2-8: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 38, but without a corresponding     object release within this function.

Signed-off-by: Wen Yang &lt;wen.yang99@zte.com.cn&gt;
Cc: Timur Tabi &lt;timur@kernel.org&gt;
Cc: Nicolin Chen &lt;nicoleotsuka@gmail.com&gt;
Cc: Xiubo Li &lt;Xiubo.Lee@gmail.com&gt;
Cc: Fabio Estevam &lt;festevam@gmail.com&gt;
Cc: Liam Girdwood &lt;lgirdwood@gmail.com&gt;
Cc: Mark Brown &lt;broonie@kernel.org&gt;
Cc: Jaroslav Kysela &lt;perex@perex.cz&gt;
Cc: Takashi Iwai &lt;tiwai@suse.com&gt;
Cc: alsa-devel@alsa-project.org
Cc: linuxppc-dev@lists.ozlabs.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: Convert to using %pOFn instead of device_node.name</title>
<updated>2018-08-28T18:07:00Z</updated>
<author>
<name>Rob Herring</name>
</author>
<published>2018-08-28T15:44:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5d585e1e756838d91144c3173323b96f5aa12874'/>
<id>urn:sha1:5d585e1e756838d91144c3173323b96f5aa12874</id>
<content type='text'>
In preparation to remove the node name pointer from struct device_node,
convert printf users to use the %pOFn format specifier.

Signed-off-by: Rob Herring &lt;robh@kernel.org&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: fsl_utils: Switch to SPDX identifier</title>
<updated>2018-07-24T15:59:03Z</updated>
<author>
<name>Fabio Estevam</name>
</author>
<published>2018-07-24T12:48:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ad47191a72ca0a95327e8bb16155e5e216f1d97d'/>
<id>urn:sha1:ad47191a72ca0a95327e8bb16155e5e216f1d97d</id>
<content type='text'>
Adopt the SPDX license identifier headers to ease license compliance
management.

Signed-off-by: Fabio Estevam &lt;fabio.estevam@nxp.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: fsl_utils: Use 'const _be *' type for iprop</title>
<updated>2018-02-12T09:32:11Z</updated>
<author>
<name>Fabio Estevam</name>
</author>
<published>2018-02-11T21:53:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cb3981b6a64e1353b4f8ee70f97583f59c9772d0'/>
<id>urn:sha1:cb3981b6a64e1353b4f8ee70f97583f59c9772d0</id>
<content type='text'>
The 'iprop' variable is passed as an argument to the be32_to_cpup()
function, which expects a 'const _be *' type.

Change the iprop variable type so that the following build warnings
with W=1 are gone:

sound/soc/fsl/fsl_utils.c:72:40: warning: incorrect type in argument 1 (different base types)
sound/soc/fsl/fsl_utils.c:72:40:    expected restricted __be32 const [usertype] *p
sound/soc/fsl/fsl_utils.c:72:40:    got unsigned int const [usertype] *[assigned] iprop
sound/soc/fsl/fsl_utils.c:80:32: warning: incorrect type in argument 1 (different base types)
sound/soc/fsl/fsl_utils.c:80:32:    expected restricted __be32 const [usertype] *p
sound/soc/fsl/fsl_utils.c:80:32:    got unsigned int const [usertype] *[assigned] iprop

Signed-off-by: Fabio Estevam &lt;fabio.estevam@nxp.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
</feed>
