<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/sound/soc/mediatek/common, 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>2022-11-25T19:31:14Z</updated>
<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>
<entry>
<title>ASoC: mediatek: mt8195: extract SOF common code</title>
<updated>2022-07-18T12:45:16Z</updated>
<author>
<name>Chunxu Li</name>
<email>chunxu.li@mediatek.com</email>
</author>
<published>2022-07-15T08:59:03Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=0caf1120c58395108344d5df4e09359b67e95094'/>
<id>urn:sha1:0caf1120c58395108344d5df4e09359b67e95094</id>
<content type='text'>
The functions related to SOF can be reused in different machine drivers,
such as mt8195 or mt8186, so extract the common code to avoid duplication.

Set mtk_soc_card_data which include machine private data and SOF private
data as card drvdata, then the difference between machine private can be
ignored such as mt8195_mt6359_priv or mt8186_mt6366_priv, at the same
time the SOF related code can be reused in different machine drivers.

Signed-off-by: Chunxu Li &lt;chunxu.li@mediatek.com&gt;
Link: https://lore.kernel.org/r/20220715085903.7796-1-chunxu.li@mediatek.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: mediatek: remove unnecessary initialization</title>
<updated>2021-10-27T10:31:12Z</updated>
<author>
<name>Pierre-Louis Bossart</name>
<email>pierre-louis.bossart@linux.intel.com</email>
</author>
<published>2021-10-25T18:59:30Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=33fb790fcc02a717c1cac90958f203f06da14f7e'/>
<id>urn:sha1:33fb790fcc02a717c1cac90958f203f06da14f7e</id>
<content type='text'>
Cppcheck warning:

sound/soc/mediatek/common/mtk-afe-fe-dai.c:353:8: style: Variable 'i'
is assigned a value that is never used. [unreadVariable]
 int i = 0;
       ^

Signed-off-by: Pierre-Louis Bossart &lt;pierre-louis.bossart@linux.intel.com&gt;
Link: https://lore.kernel.org/r/20211025185933.144327-6-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: mediatek: mt8195: Remove unsued irqs_lock.</title>
<updated>2021-09-13T00:59:02Z</updated>
<author>
<name>Sebastian Andrzej Siewior</name>
<email>bigeasy@linutronix.de</email>
</author>
<published>2021-09-10T09:48:47Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=c3815f8bc777370999ced0b6b6f846094b33d583'/>
<id>urn:sha1:c3815f8bc777370999ced0b6b6f846094b33d583</id>
<content type='text'>
irqs_lock is not used, never was.

Remove irqs_lock.

Fixes: 283b612429a27 ("ASoC: mediatek: implement mediatek common structure")
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: Matthias Brugger &lt;matthias.bgg@gmail.com&gt;
Signed-off-by: Sebastian Andrzej Siewior &lt;bigeasy@linutronix.de&gt;
Link: https://lore.kernel.org/r/20210910094847.3430413-1-bigeasy@linutronix.de
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: mediatek: common: handle NULL case in suspend/resume function</title>
<updated>2021-09-10T14:08:26Z</updated>
<author>
<name>Trevor Wu</name>
<email>trevor.wu@mediatek.com</email>
</author>
<published>2021-09-10T09:26:13Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=1dd038522615b70f5f8945c5631e9e2fa5bd58b1'/>
<id>urn:sha1:1dd038522615b70f5f8945c5631e9e2fa5bd58b1</id>
<content type='text'>
When memory allocation for afe-&gt;reg_back_up fails, reg_back_up can't
be used.
Keep the suspend/resume flow but skip register backup when
afe-&gt;reg_back_up is NULL, in case illegal memory access happens.

Fixes: 283b612429a2 ("ASoC: mediatek: implement mediatek common structure")
Signed-off-by: Trevor Wu &lt;trevor.wu@mediatek.com&gt;
Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Link: https://lore.kernel.org/r/20210910092613.30188-1-trevor.wu@mediatek.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: mediatek: mt8195: update mediatek common driver</title>
<updated>2021-08-24T18:13:51Z</updated>
<author>
<name>Trevor Wu</name>
<email>trevor.wu@mediatek.com</email>
</author>
<published>2021-08-19T08:41:34Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=cab2b9e5fc0e868ed8453ef4f433c795bda8bf84'/>
<id>urn:sha1:cab2b9e5fc0e868ed8453ef4f433c795bda8bf84</id>
<content type='text'>
Update mediatek common driver to support MT8195

Signed-off-by: Trevor Wu &lt;trevor.wu@mediatek.com&gt;
Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Link: https://lore.kernel.org/r/20210819084144.18483-2-trevor.wu@mediatek.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: mediatek: mtk-btcvsd: Fix an error handling path in 'mtk_btcvsd_snd_probe()'</title>
<updated>2021-06-08T12:36:46Z</updated>
<author>
<name>Christophe JAILLET</name>
<email>christophe.jaillet@wanadoo.fr</email>
</author>
<published>2021-06-06T14:31:09Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=b6052c3c7a78f5e2b9756c92ef77c0b56435f107'/>
<id>urn:sha1:b6052c3c7a78f5e2b9756c92ef77c0b56435f107</id>
<content type='text'>
If an error occurs after a successful 'of_iomap()' call, it must be undone
by a corresponding 'iounmap()' call, as already done in the remove
function.

While at it, remove the useless initialization of 'ret' at the beginning of
the function.

Fixes: 4bd8597dc36c ("ASoC: mediatek: add btcvsd driver")
Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Link: https://lore.kernel.org/r/0c2ba562c3364e61bfbd5b3013a99dfa0d9045d7.1622989685.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: mediatek: mtk-btcvsd: remove useless assignment</title>
<updated>2021-03-12T14:29:51Z</updated>
<author>
<name>Pierre-Louis Bossart</name>
<email>pierre-louis.bossart@linux.intel.com</email>
</author>
<published>2021-03-11T00:49:01Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=2e5e57f085a3243aae7e4af88dc2c40e5ff4d3be'/>
<id>urn:sha1:2e5e57f085a3243aae7e4af88dc2c40e5ff4d3be</id>
<content type='text'>
cppcheck warning:

sound/soc/mediatek/common/mtk-btcvsd.c:783:34: style: Variable 'avail'
is assigned a value that is never used. [unreadVariable]
 int written_size = count, avail = 0, cur_write_idx, write_size, cont;
                                 ^

Signed-off-by: Pierre-Louis Bossart &lt;pierre-louis.bossart@linux.intel.com&gt;
Link: https://lore.kernel.org/r/20210311004904.121205-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-5.10' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.11</title>
<updated>2020-11-30T16:05:07Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2020-11-30T16:05:07Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=e5879d988291a964a87c4868057dc989d901eea0'/>
<id>urn:sha1:e5879d988291a964a87c4868057dc989d901eea0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ASoC: mediatek: btcvsd fix tx stream assign</title>
<updated>2020-11-30T12:52:48Z</updated>
<author>
<name>Lumi Lee</name>
<email>lumi.lee@mediatek.com</email>
</author>
<published>2020-11-30T03:11:15Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=bbe1f69dce94089943cc407a88325ae7e851d49c'/>
<id>urn:sha1:bbe1f69dce94089943cc407a88325ae7e851d49c</id>
<content type='text'>
Fix tx/rx stream assign in write.
Write should use tx instead of rx.

Signed-off-by: Lumi Lee &lt;lumi.lee@mediatek.com&gt;
Link: https://lore.kernel.org/r/1606705875-1940-1-git-send-email-Lumi.Lee@mediatek.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
</feed>
