<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/sound/soc/mediatek, branch linux-6.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.2.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.2.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2023-03-11T12:50:37Z</updated>
<entry>
<title>ASoC: mediatek: mt8195: add missing initialization</title>
<updated>2023-03-11T12:50:37Z</updated>
<author>
<name>Trevor Wu</name>
<email>trevor.wu@mediatek.com</email>
</author>
<published>2023-03-01T11:02:00Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=6f8490a74da5584a4f8abbf9c5d3552165cc5a88'/>
<id>urn:sha1:6f8490a74da5584a4f8abbf9c5d3552165cc5a88</id>
<content type='text'>
[ Upstream commit b56ec2992a2e43bc3e60d6db86849d31640e791f ]

In etdm dai driver, dai_etdm_parse_of() function is used to parse dts
properties to get parameters. There are two for-loops which are
sepearately for all etdm and etdm input only cases. In etdm in only
loop, dai_id is not initialized, so it keeps the value intiliazed in
another loop.

In the patch, add the missing initialization to fix the unexpected
parsing problem.

Fixes: 1de9a54acafb ("ASoC: mediatek: mt8195: support etdm in platform driver")
Signed-off-by: Trevor Wu &lt;trevor.wu@mediatek.com&gt;
Reviewed-by: AngeloGioacchino Del Regno &lt;angelogioacchino.delregno@collabora.com&gt;
Link: https://lore.kernel.org/r/20230301110200.26177-3-trevor.wu@mediatek.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>Add new AMP MAX98360A for RT5682S</title>
<updated>2022-12-29T22:49:17Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2022-12-29T22:49:17Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=efd58edd8445685b5e7dcb81e5926e0865ece1ff'/>
<id>urn:sha1:efd58edd8445685b5e7dcb81e5926e0865ece1ff</id>
<content type='text'>
Merge series from tongjian &lt;tongjian@huaqin.corp-partner.google.com&gt;:

Add MAX98360A for RT5682S, MAX98360A works same as rt1019. So, it can
be supported.
</content>
</entry>
<entry>
<title>ASoC: support machine driver with max98360</title>
<updated>2022-12-29T13:21:59Z</updated>
<author>
<name>Mars Chen</name>
<email>chenxiangrui@huaqin.corp-partner.google.com</email>
</author>
<published>2022-12-28T10:38:12Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=810948f45d99c46b60852ef2a5a2777c12d6bb3e'/>
<id>urn:sha1:810948f45d99c46b60852ef2a5a2777c12d6bb3e</id>
<content type='text'>
Signed-off-by: Mars Chen &lt;chenxiangrui@huaqin.corp-partner.google.com&gt;
Link: https://lore.kernel.org/r/20221228103812.450956-1-chenxiangrui@huaqin.corp-partner.google.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: mediatek: mt8186: Add machine support for max98357a</title>
<updated>2022-12-29T13:21:56Z</updated>
<author>
<name>Allen-KH Cheng</name>
<email>allen-kh.cheng@mediatek.com</email>
</author>
<published>2022-12-28T11:57:56Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=8a54f666db581bbf07494cca44a0124acbced581'/>
<id>urn:sha1:8a54f666db581bbf07494cca44a0124acbced581</id>
<content type='text'>
Add support for mt8186 with mt6366 and max98357a.

Signed-off-by: Allen-KH Cheng &lt;allen-kh.cheng@mediatek.com&gt;
Link: https://lore.kernel.org/r/20221228115756.28014-1-allen-kh.cheng@mediatek.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: mediatek: mt8186: support rt5682s_max98360</title>
<updated>2022-12-29T13:21:54Z</updated>
<author>
<name>tongjian</name>
<email>tongjian@huaqin.corp-partner.google.com</email>
</author>
<published>2022-12-28T12:22:29Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=6e1dbf694d7cd1737ee14866e9e05016ccc9ac40'/>
<id>urn:sha1:6e1dbf694d7cd1737ee14866e9e05016ccc9ac40</id>
<content type='text'>
Add support for using the rt5682s codec together with max98360a on
MT8186-MT6366-RT1019-RT5682S machines.

Signed-off-by: tongjian &lt;tongjian@huaqin.corp-partner.google.com&gt;
Link: https://lore.kernel.org/r/20221228122230.3818533-2-tongjian@huaqin.corp-partner.google.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: mediatek: mt8195: add sof be ops to check audio active</title>
<updated>2022-12-12T15:44:23Z</updated>
<author>
<name>YC Hung</name>
<email>yc.hung@mediatek.com</email>
</author>
<published>2022-12-09T03:10:53Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=83f1b7f39af73b01edf098fe3141404670703281'/>
<id>urn:sha1:83f1b7f39af73b01edf098fe3141404670703281</id>
<content type='text'>
In MT8195 SOF design, both DSP and audio driver would access audio
registers. Before DSP accesses audio registers, audio power and clock
should be enabled. DSP will hang up if DSP access audio register but
audio power and clock are disabled. Therefore, we add audio pm runtime
active checking before accessing audio registers in SOF BE's callback
hw_params function to avoid this situation.

Signed-off-by: YC Hung &lt;yc.hung@mediatek.com&gt;
Reviewed-by: AngeloGioacchino Del Regno &lt;angelogioacchino.delregno@collabora.com&gt;
Acked-by: Curtis Malainey &lt;cujomalainey@chromium.org&gt;
Link: https://lore.kernel.org/r/20221209031053.8444-1-yc.hung@mediatek.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: mediatek: mt8183: fix refcount leak in mt8183_mt6358_ts3a227_max98357_dev_probe()</title>
<updated>2022-12-07T14:19:15Z</updated>
<author>
<name>Wang Yufen</name>
<email>wangyufen@huawei.com</email>
</author>
<published>2022-12-05T09:56:28Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=38eef3be38ab895959c442702864212cc3beb96c'/>
<id>urn:sha1:38eef3be38ab895959c442702864212cc3beb96c</id>
<content type='text'>
The node returned by of_parse_phandle() with refcount incremented,
of_node_put() needs be called when finish using it. So add it in the
error path in mt8183_mt6358_ts3a227_max98357_dev_probe().

Fixes: 11c0269017b2 ("ASoC: Mediatek: MT8183: Add machine driver with TS3A227")
Signed-off-by: Wang Yufen &lt;wangyufen@huawei.com&gt;
Link: https://lore.kernel.org/r/1670234188-23596-1-git-send-email-wangyufen@huawei.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: mediatek: mt8173-rt5650-rt5514: fix refcount leak in mt8173_rt5650_rt5514_dev_probe()</title>
<updated>2022-12-07T14:19:11Z</updated>
<author>
<name>Wang Yufen</name>
<email>wangyufen@huawei.com</email>
</author>
<published>2022-12-05T10:04:24Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=3327d721114c109ba0575f86f8fda3b525404054'/>
<id>urn:sha1:3327d721114c109ba0575f86f8fda3b525404054</id>
<content type='text'>
The node returned by of_parse_phandle() with refcount incremented,
of_node_put() needs be called when finish using it. So add it in the
error path in mt8173_rt5650_rt5514_dev_probe().

Fixes: 0d1d7a664288 ("ASoC: mediatek: Refine mt8173 driver and change config option")
Signed-off-by: Wang Yufen &lt;wangyufen@huawei.com&gt;
Link: https://lore.kernel.org/r/1670234664-24246-1-git-send-email-wangyufen@huawei.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: mediatek: mt8173: Enable IRQ when pdata is ready</title>
<updated>2022-11-28T16:40:17Z</updated>
<author>
<name>Ricardo Ribalda</name>
<email>ribalda@chromium.org</email>
</author>
<published>2022-11-28T10:49:16Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=4cbb264d4e9136acab2c8fd39e39ab1b1402b84b'/>
<id>urn:sha1:4cbb264d4e9136acab2c8fd39e39ab1b1402b84b</id>
<content type='text'>
If the device does not come straight from reset, we might receive an IRQ
before we are ready to handle it.

Fixes:

[    2.334737] Unable to handle kernel read from unreadable memory at virtual address 00000000000001e4
[    2.522601] Call trace:
[    2.525040]  regmap_read+0x1c/0x80
[    2.528434]  mt8173_afe_irq_handler+0x40/0xf0
...
[    2.598921]  start_kernel+0x338/0x42c

Signed-off-by: Ricardo Ribalda &lt;ribalda@chromium.org&gt;
Fixes: ee0bcaff109f ("ASoC: mediatek: Add AFE platform driver")
Link: https://lore.kernel.org/r/20221128-mt8173-afe-v1-0-70728221628f@chromium.org
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: mediatek: mtk-btcvsd: Add checks for write and read of mtk_btcvsd_snd</title>
<updated>2022-11-25T19:31:14Z</updated>
<author>
<name>Jiasheng Jiang</name>
<email>jiasheng@iscas.ac.cn</email>
</author>
<published>2022-11-16T03:07:50Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d067b3378a78c9c3048ac535e31c171b6f5b5846'/>
<id>urn:sha1:d067b3378a78c9c3048ac535e31c171b6f5b5846</id>
<content type='text'>
As the mtk_btcvsd_snd_write and mtk_btcvsd_snd_read may return error,
it should be better to catch the exception.

Fixes: 4bd8597dc36c ("ASoC: mediatek: add btcvsd driver")
Signed-off-by: Jiasheng Jiang &lt;jiasheng@iscas.ac.cn&gt;
Link: https://lore.kernel.org/r/20221116030750.40500-1-jiasheng@iscas.ac.cn
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
</feed>
