<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/sound/soc/codecs/mt6359.c, 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-07-13T12:48:56Z</updated>
<entry>
<title>ASoC: mt6359: Fix refcount leak bug</title>
<updated>2022-07-13T12:48:56Z</updated>
<author>
<name>Liang He</name>
<email>windhl@126.com</email>
</author>
<published>2022-07-13T10:20:13Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=a8d5df69e2ec702d979f7d04ed519caf8691a032'/>
<id>urn:sha1:a8d5df69e2ec702d979f7d04ed519caf8691a032</id>
<content type='text'>
In mt6359_parse_dt() and mt6359_accdet_parse_dt(), we should call
of_node_put() for the reference returned by of_get_child_by_name()
which has increased the refcount.

Fixes: 683530285316 ("ASoC: mt6359: fix failed to parse DT properties")
Fixes: eef07b9e0925 ("ASoC: mediatek: mt6359: add MT6359 accdet jack driver")
Signed-off-by: Liang He &lt;windhl@126.com&gt;
Link: https://lore.kernel.org/r/20220713102013.367336-1-windhl@126.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: mt6359: Add endianness flag in snd_soc_component_driver</title>
<updated>2022-05-09T11:46:32Z</updated>
<author>
<name>Charles Keepax</name>
<email>ckeepax@opensource.cirrus.com</email>
</author>
<published>2022-05-04T17:08:46Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d990af7422761fa58713e2f56664f7c8c2bf6383'/>
<id>urn:sha1:d990af7422761fa58713e2f56664f7c8c2bf6383</id>
<content type='text'>
The endianness flag is used on the CODEC side to specify an
ambivalence to endian, typically because it is lost over the hardware
link. This device receives audio over an I2S DAI and as such should
have endianness applied.

As the core will now expand the formats to cover both endian types,
remove the redundant manual specification of both.

Signed-off-by: Charles Keepax &lt;ckeepax@opensource.cirrus.com&gt;
Link: https://lore.kernel.org/r/20220504170905.332415-20-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: mediatek: mt6359: Fix unexpected error in bind/unbind flow</title>
<updated>2021-09-15T12:12:29Z</updated>
<author>
<name>Trevor Wu</name>
<email>trevor.wu@mediatek.com</email>
</author>
<published>2021-09-15T03:46:59Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=6d66c5ccf5cb8af866fe2bb014098a3dd7bfa3cc'/>
<id>urn:sha1:6d66c5ccf5cb8af866fe2bb014098a3dd7bfa3cc</id>
<content type='text'>
mt6359-sound is a MFD driver. Because its regmap is retrieved from its
parent, it shouldn't be freed in mt6359-sound driver.

snd_soc_component_exit_regmap() will do regmap_exit(), this results in
unexpected results if sound card unregister flow is invoked when users
try to bind/unbind audio codec.

Remove the usage of snd_soc_component_exit_regmap(). Instead, set
component-&gt;regmap = NULL in the component remove function.

Signed-off-by: Trevor Wu &lt;trevor.wu@mediatek.com&gt;
Link: https://lore.kernel.org/r/20210915034659.25044-1-trevor.wu@mediatek.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoc: codecs: mt6359: remove useless initializations</title>
<updated>2021-05-10T12:05:28Z</updated>
<author>
<name>Pierre-Louis Bossart</name>
<email>pierre-louis.bossart@linux.intel.com</email>
</author>
<published>2021-04-26T21:46:59Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d51f6dfb9c9843f82825187baa78f0f4c1ec6ac7'/>
<id>urn:sha1:d51f6dfb9c9843f82825187baa78f0f4c1ec6ac7</id>
<content type='text'>
cppcheck warning:

sound/soc/codecs/mt6359.c:274:8: style: Variable 'i' is assigned a
value that is never used. [unreadVariable]
 int i = 0, stage = 0;
       ^
sound/soc/codecs/mt6359.c:274:19: style: Variable 'stage' is assigned
a value that is never used. [unreadVariable]
 int i = 0, stage = 0;
                  ^

Signed-off-by: Pierre-Louis Bossart &lt;pierre-louis.bossart@linux.intel.com&gt;
Link: https://lore.kernel.org/r/20210426214701.235106-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: mt6359: remove useless assignment</title>
<updated>2021-03-18T13:50:46Z</updated>
<author>
<name>Pierre-Louis Bossart</name>
<email>pierre-louis.bossart@linux.intel.com</email>
</author>
<published>2021-03-12T18:22:37Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d068ab4eab0de3224b32ac37234d4d33452d5b01'/>
<id>urn:sha1:d068ab4eab0de3224b32ac37234d4d33452d5b01</id>
<content type='text'>
cppcheck warning:

sound/soc/codecs/mt6359.c:242:19: style: Variable 'stage' is assigned a value that is never used. [unreadVariable]
 int i = 0, stage = 0;
                  ^
sound/soc/codecs/mt6359.c:260:19: style: Variable 'stage' is assigned a value that is never used. [unreadVariable]
 int i = 0, stage = 0;
                  ^
sound/soc/codecs/mt6359.c:274:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable]
 int i = 0, stage = 0;
       ^
sound/soc/codecs/mt6359.c:274:19: style: Variable 'stage' is assigned a value that is never used. [unreadVariable]
 int i = 0, stage = 0;
                  ^

Signed-off-by: Pierre-Louis Bossart &lt;pierre-louis.bossart@linux.intel.com&gt;
Link: https://lore.kernel.org/r/20210312182246.5153-15-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: mt6359: reduce log verbosity for optional DT properties</title>
<updated>2021-02-02T13:42:46Z</updated>
<author>
<name>Tzung-Bi Shih</name>
<email>tzungbi@google.com</email>
</author>
<published>2021-02-02T03:35:57Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=1ecebae4733d8971059f0c514741868ce19f5d24'/>
<id>urn:sha1:1ecebae4733d8971059f0c514741868ce19f5d24</id>
<content type='text'>
DT properties "dmic-mode" and "mic-type-X" are optional.  Reduces the
log verbosity and changes the message a bit to avoid misleading.

Signed-off-by: Tzung-Bi Shih &lt;tzungbi@google.com&gt;
Link: https://lore.kernel.org/r/20210202033557.1621029-1-tzungbi@google.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: mediatek: mt6359: Fix regulator_dev_lookup() fails for id "LDO_VAUD18"</title>
<updated>2020-11-20T13:48:29Z</updated>
<author>
<name>Jiaxin Yu</name>
<email>jiaxin.yu@mediatek.com</email>
</author>
<published>2020-11-20T03:06:12Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=9546c76c73a1ee8b662b09f7308bcb63d2cd0d51'/>
<id>urn:sha1:9546c76c73a1ee8b662b09f7308bcb63d2cd0d51</id>
<content type='text'>
Mt6359 platform device is instantiated by mfd_add_devices(). In the
case, dev-&gt;of_node is NULL so that always fails to get the regulator_dev.

Use regualator-name "vaud18" that in dts node instead of
"LDO_VAUD19-supply". So that we can get regulator_dev through
regulator_lookup_by_name() directly.

Fixes: 64a70744b778 ("ASoC: Fix vaud18 power leakage of mt6359")
Signed-off-by: Jiaxin Yu &lt;jiaxin.yu@mediatek.com&gt;
Link: https://lore.kernel.org/r/1605841573-1442-2-git-send-email-jiaxin.yu@mediatek.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: Remove mt6359_platform_driver_remove</title>
<updated>2020-11-11T12:35:11Z</updated>
<author>
<name>Shane.Chien</name>
<email>shane.chien@mediatek.com</email>
</author>
<published>2020-11-11T04:14:56Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=6b0e12a5c668c6b77c3e6d6c55c3ae7ed8bf5bd5'/>
<id>urn:sha1:6b0e12a5c668c6b77c3e6d6c55c3ae7ed8bf5bd5</id>
<content type='text'>
remove mt6359_platform_driver_remove due to it is
useless.

Signed-off-by: Shane.Chien &lt;shane.chien@mediatek.com&gt;
Link: https://lore.kernel.org/r/1605068096-12587-1-git-send-email-shane.chien@mediatek.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: Fix vaud18 power leakage of mt6359</title>
<updated>2020-11-10T14:24:45Z</updated>
<author>
<name>Shane.Chien</name>
<email>shane.chien@mediatek.com</email>
</author>
<published>2020-11-10T02:31:31Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=64a70744b77898a15d7a5b2b4dc0fa9523a75cde'/>
<id>urn:sha1:64a70744b77898a15d7a5b2b4dc0fa9523a75cde</id>
<content type='text'>
vaud18 is power of mt6359 audio path. It
should only enable when audio is used,
instead of in boot up stage.
Once mt6359 audio path is enabled or disabled,
vaud18 is controlled by regulator supply widget
"LDO_VAUD18". Due to vaud18 is controlled by
regulator dapm macro instead of regmap, the macro
MT6359_LDO_VAUD18_CON0 and variable avdd_reg
is no used and removed from mt6359.h.

Signed-off-by: Shane.Chien &lt;shane.chien@mediatek.com&gt;
Link: https://lore.kernel.org/r/1604975492-6142-2-git-send-email-shane.chien@mediatek.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: mediatek: mt6359: add the calibration functions</title>
<updated>2020-11-04T17:51:46Z</updated>
<author>
<name>Jiaxin Yu</name>
<email>jiaxin.yu@mediatek.com</email>
</author>
<published>2020-11-03T07:59:30Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=682c5a72a2bb0745da73211bed5f47ccccd84025'/>
<id>urn:sha1:682c5a72a2bb0745da73211bed5f47ccccd84025</id>
<content type='text'>
Add the calibraion functions for initializing the codec when registering
the machine driver.

Signed-off-by: Jiaxin Yu &lt;jiaxin.yu@mediatek.com&gt;
Link: https://lore.kernel.org/r/1604390378-23993-2-git-send-email-jiaxin.yu@mediatek.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
</feed>
