<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/sound/soc/amd/acp, branch master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/sound/soc/amd/acp?h=master</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/sound/soc/amd/acp?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2022-09-19T16:52:40Z</updated>
<entry>
<title>ASoC: amd: acp: use function devm_kcalloc() instead of devm_kzalloc()</title>
<updated>2022-09-19T16:52:40Z</updated>
<author>
<name>ye xingchen</name>
<email>ye.xingchen@zte.com.cn</email>
</author>
<published>2022-09-16T06:20:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=f047199e6f3115896fee25ac8809e1a9a8c948fc'/>
<id>urn:sha1:f047199e6f3115896fee25ac8809e1a9a8c948fc</id>
<content type='text'>
Use 2-factor multiplication argument form devm_kcalloc() instead
of devm_kzalloc().

Reported-by: Zeal Robot &lt;zealci@zte.com.cn&gt;
Signed-off-by: ye xingchen &lt;ye.xingchen@zte.com.cn&gt;
Link: https://lore.kernel.org/r/20220916062027.152815-1-ye.xingchen@zte.com.cn
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: amd: acp: use devm_kcalloc() instead of devm_kzalloc()</title>
<updated>2022-09-19T16:52:37Z</updated>
<author>
<name>ye xingchen</name>
<email>ye.xingchen@zte.com.cn</email>
</author>
<published>2022-09-16T06:19:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=8e34d743f97f151824a2dc0803695752de80bf7d'/>
<id>urn:sha1:8e34d743f97f151824a2dc0803695752de80bf7d</id>
<content type='text'>
Use 2-factor multiplication argument form devm_kcalloc() instead
of devm_kzalloc().

Reported-by: Zeal Robot &lt;zealci@zte.com.cn&gt;
Signed-off-by: ye xingchen &lt;ye.xingchen@zte.com.cn&gt;
Link: https://lore.kernel.org/r/20220916061906.152434-1-ye.xingchen@zte.com.cn
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: amd: acp: Modify dai_id macros to be more generic</title>
<updated>2022-08-28T21:04:03Z</updated>
<author>
<name>Venkata Prasad Potturu</name>
<email>venkataprasad.potturu@amd.com</email>
</author>
<published>2022-08-26T06:42:45Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=99a387c7818fe422fa96458f56bc74f05f263013'/>
<id>urn:sha1:99a387c7818fe422fa96458f56bc74f05f263013</id>
<content type='text'>
Change dai_id macros to make I2S instances in order.

Signed-off-by: Venkata Prasad Potturu &lt;venkataprasad.potturu@amd.com&gt;
Link: https://lore.kernel.org/r/20220826064250.3302260-1-venkataprasad.potturu@amd.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: amd: acp: remove unnecessary NULL checks</title>
<updated>2022-08-19T12:20:00Z</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2022-08-19T05:23:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=a74ec0bf5b67eae87317646571116ce4b4166d95'/>
<id>urn:sha1:a74ec0bf5b67eae87317646571116ce4b4166d95</id>
<content type='text'>
The list iterator can never be NULL.  Delete the bogus NULL checks.

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Link: https://lore.kernel.org/r/Yv8ePUuBfzaRu6xV@kili
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: amd: acp: add a label to make error path more clean</title>
<updated>2022-08-19T12:19:58Z</updated>
<author>
<name>Yang Yingliang</name>
<email>yangyingliang@huawei.com</email>
</author>
<published>2022-08-19T07:37:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=fd8ec75207588f85c622ee49e5f32267d2406d92'/>
<id>urn:sha1:fd8ec75207588f85c622ee49e5f32267d2406d92</id>
<content type='text'>
Move platform_device_unregister() to a new label to make code more clean.

Signed-off-by: Yang Yingliang &lt;yangyingliang@huawei.com&gt;
Link: https://lore.kernel.org/r/20220819073758.1273160-3-yangyingliang@huawei.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: amd: acp: switch to use dev_err_probe()</title>
<updated>2022-08-19T12:19:57Z</updated>
<author>
<name>Yang Yingliang</name>
<email>yangyingliang@huawei.com</email>
</author>
<published>2022-08-19T07:37:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=f89a8c5bb3489e43ff87b5f91acc8db66a168e8e'/>
<id>urn:sha1:f89a8c5bb3489e43ff87b5f91acc8db66a168e8e</id>
<content type='text'>
Use dev_err_probe() to simplify code and print error code.

Signed-off-by: Yang Yingliang &lt;yangyingliang@huawei.com&gt;
Link: https://lore.kernel.org/r/20220819073758.1273160-2-yangyingliang@huawei.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: amd: acp: add missing platform_device_unregister() in acp_pci_probe()</title>
<updated>2022-08-19T12:19:56Z</updated>
<author>
<name>Yang Yingliang</name>
<email>yangyingliang@huawei.com</email>
</author>
<published>2022-08-19T07:37:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=6a4ce20fd776d2fd19ffaf85cf34a53761e2c888'/>
<id>urn:sha1:6a4ce20fd776d2fd19ffaf85cf34a53761e2c888</id>
<content type='text'>
Add missing platform_device_unregister() in error path in acp_pci_probe().

Fixes: c49f5e74a11e ("ASoC: amd: acp: Add error handling cases")
Signed-off-by: Yang Yingliang &lt;yangyingliang@huawei.com&gt;
Link: https://lore.kernel.org/r/20220819073758.1273160-1-yangyingliang@huawei.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: amd: acp: Add TDM support for acp i2s stream</title>
<updated>2022-08-15T00:19:42Z</updated>
<author>
<name>Venkata Prasad Potturu</name>
<email>venkataprasad.potturu@amd.com</email>
</author>
<published>2022-08-10T13:29:13Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=12229b7e50cfa95fda55b83a2617eafd6ac4c8c5'/>
<id>urn:sha1:12229b7e50cfa95fda55b83a2617eafd6ac4c8c5</id>
<content type='text'>
Add callback and code changes to enable ACP I2S controller in TDM
mode. Add new fields in acp_stream and acp_dev_data struct to configure
tdm related registers for ACP i2s controllers.

Signed-off-by: Venkata Prasad Potturu &lt;venkataprasad.potturu@amd.com&gt;
Link: https://lore.kernel.org/r/20220810132913.1181247-3-venkataprasad.potturu@amd.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: amd: acp: Initialize list to store acp_stream during pcm_open</title>
<updated>2022-08-15T00:19:41Z</updated>
<author>
<name>Ajit Kumar Pandey</name>
<email>AjitKumar.Pandey@amd.com</email>
</author>
<published>2022-08-10T13:29:12Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=7929985cfe36c336e3d0753e9f23ac4c7758ea7e'/>
<id>urn:sha1:7929985cfe36c336e3d0753e9f23ac4c7758ea7e</id>
<content type='text'>
We are currently allocating acp_stream during pcm_open and saving
it in static array corresponds to array index calculated based on
cpu dai-&gt;driver id. This approach will fail if we have single dai
linked to multiple pcm device as we will have same dai-&gt;driver id
or array index for multiple pcm open. Initialize new linked list
stream_list to store opened pcm stream info dynamically.

Signed-off-by: Ajit Kumar Pandey &lt;AjitKumar.Pandey@amd.com&gt;
Signed-off-by: Venkata Prasad Potturu &lt;venkataprasad.potturu@amd.com&gt;
Reviewed-by: Vijendar Mukunda &lt;Vijendar.Mukunda@amd.com&gt;
Link: https://lore.kernel.org/r/20220810132913.1181247-2-venkataprasad.potturu@amd.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: amd: acp: Fix initialization of ext_intr_stat1 in i2s_irq_handler()</title>
<updated>2022-07-26T12:02:25Z</updated>
<author>
<name>Nathan Chancellor</name>
<email>nathan@kernel.org</email>
</author>
<published>2022-07-25T18:05:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=d81677410f172c2b946393c09b46ff9e8dc1b6ec'/>
<id>urn:sha1:d81677410f172c2b946393c09b46ff9e8dc1b6ec</id>
<content type='text'>
Clang warns:

  ../sound/soc/amd/acp/acp-platform.c:117:19: error: variable 'ext_intr_stat1' is uninitialized when used here [-Werror,-Wuninitialized]
                          if (stream &amp;&amp; (ext_intr_stat1 &amp; stream-&gt;irq_bit)) {
                                         ^~~~~~~~~~~~~~
  ../sound/soc/amd/acp/acp-platform.c:97:35: note: initialize the variable 'ext_intr_stat1' to silence this warning
          u32 ext_intr_stat, ext_intr_stat1, i;
                                           ^
                                            = 0
  1 error generated.

The variable was not properly renamed, correct it to resolve the
warning.

Fixes: 93f53881473c ("ASoC: amd: acp: Modify local variables name to generic")
Link: https://github.com/ClangBuiltLinux/linux/issues/1675
Signed-off-by: Nathan Chancellor &lt;nathan@kernel.org&gt;
Reviewed-by: Tom Rix &lt;trix@redhat.com&gt;
Link: https://lore.kernel.org/r/20220725180539.1315066-1-nathan@kernel.org
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
</feed>
