<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/sound/soc/codecs, branch master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/sound/soc/codecs?h=master</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/sound/soc/codecs?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2022-10-19T15:37:01Z</updated>
<entry>
<title>ASoC: jz4752b: Capture fixes</title>
<updated>2022-10-19T15:37:01Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2022-10-19T15:37:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=008f05a72d32dcc14038801649ec67af765fcc3c'/>
<id>urn:sha1:008f05a72d32dcc14038801649ec67af765fcc3c</id>
<content type='text'>
Merge series from Siarhei Volkau &lt;lis8215@gmail.com&gt;:

The patchset fixes:
 - Line In path stays powered off during capturing or
   bypass to mixer.
 - incorrectly represented dB values in alsamixer, et al.
 - incorrect represented Capture input selector in alsamixer
   in Playback tab.
 - wrong control selected as Capture Master
</content>
</entry>
<entry>
<title>ASoC: codecs: jz4725b: Fix spelling mistake "Sourc" -&gt; "Source", "Routee" -&gt; "Route"</title>
<updated>2022-10-19T12:51:50Z</updated>
<author>
<name>Colin Ian King</name>
<email>colin.i.king@gmail.com</email>
</author>
<published>2022-10-19T07:16:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=df496157a5afa1b6d1f4c46ad6549c2c346d1e59'/>
<id>urn:sha1:df496157a5afa1b6d1f4c46ad6549c2c346d1e59</id>
<content type='text'>
There are two spelling mistakes in codec routing description. Fix it.

Signed-off-by: Colin Ian King &lt;colin.i.king@gmail.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Acked-by: Paul Cercueil &lt;paul@crapouillou.net&gt;
Link: https://lore.kernel.org/r/20221019071639.1003730-1-colin.i.king@gmail.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: rt1308-sdw: add the default value of some registers</title>
<updated>2022-10-19T12:39:33Z</updated>
<author>
<name>Shuming Fan</name>
<email>shumingf@realtek.com</email>
</author>
<published>2022-10-19T09:57:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=75d8b1662ca5c20cf8365575222abaef18ff1f50'/>
<id>urn:sha1:75d8b1662ca5c20cf8365575222abaef18ff1f50</id>
<content type='text'>
The driver missed the default value of register 0xc070/0xc360.
This patch adds that default value to avoid invalid register access
when the device doesn't be enumerated yet.
BugLink: https://github.com/thesofproject/linux/issues/3924

Signed-off-by: Shuming Fan &lt;shumingf@realtek.com&gt;
Link: https://lore.kernel.org/r/20221019095715.31082-1-shumingf@realtek.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: rt1308-sdw: update the preset settings</title>
<updated>2022-10-19T12:39:33Z</updated>
<author>
<name>Shuming Fan</name>
<email>shumingf@realtek.com</email>
</author>
<published>2022-10-19T09:57:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=00aaf8bfe0ee2b807b452df806d725e080d85404'/>
<id>urn:sha1:00aaf8bfe0ee2b807b452df806d725e080d85404</id>
<content type='text'>
This patch updates the pad control and checks the
hardware version to set the different preset settings.

Signed-off-by: Shuming Fan &lt;shumingf@realtek.com&gt;
Link: https://lore.kernel.org/r/20221019095731.31101-1-shumingf@realtek.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: codecs: tlv320adc3xxx: Wrap adc3xxx_i2c_remove() in __exit_p()</title>
<updated>2022-10-18T11:01:48Z</updated>
<author>
<name>Geert Uytterhoeven</name>
<email>geert@linux-m68k.org</email>
</author>
<published>2022-10-16T08:33:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=4e8ff35878685291978b93543d6b9e9290be770a'/>
<id>urn:sha1:4e8ff35878685291978b93543d6b9e9290be770a</id>
<content type='text'>
If CONFIG_SND_SOC_TLV320ADC3XXX=y:

    `.exit.text' referenced in section `.data' of sound/soc/codecs/tlv320adc3xxx.o: defined in discarded section `.exit.text' of sound/soc/codecs/tlv320adc3xxx.o

Fix this by wrapping the adc3xxx_i2c_remove() pointer in __exit_p().

Fixes: e9a3b57efd28fe88 ("ASoC: codec: tlv320adc3xxx: New codec driver")
Signed-off-by: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;
Link: https://lore.kernel.org/r/3225ba4cfe558d9380155e75385954dd21d4e7eb.1665909132.git.geert@linux-m68k.org
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: codecs: jz4725b: fix capture selector naming</title>
<updated>2022-10-17T11:50:28Z</updated>
<author>
<name>Siarhei Volkau</name>
<email>lis8215@gmail.com</email>
</author>
<published>2022-10-16T13:26:45Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=80852f8268769715db335a22305e81a0c4a38a84'/>
<id>urn:sha1:80852f8268769715db335a22305e81a0c4a38a84</id>
<content type='text'>
At the moment Capture source selector appears on Playback
tab in the alsamixer and has a senseless name.

Let's fix that.

Signed-off-by: Siarhei Volkau &lt;lis8215@gmail.com&gt;
Link: https://lore.kernel.org/r/20221016132648.3011729-5-lis8215@gmail.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: codecs: jz4725b: use right control for Capture Volume</title>
<updated>2022-10-17T11:50:27Z</updated>
<author>
<name>Siarhei Volkau</name>
<email>lis8215@gmail.com</email>
</author>
<published>2022-10-16T13:26:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=1538e2c8c9b7e7a656effcc6e4e7cfe8c1b405fd'/>
<id>urn:sha1:1538e2c8c9b7e7a656effcc6e4e7cfe8c1b405fd</id>
<content type='text'>
Line In Bypass control is used as Master Capture at the moment
this is completely incorrect.

Current control routed to Mixer instead of ADC, thus can't affect
Capture path. ADC control shall be used instead.

ADC volume control parameters are different, so the patch fixes that
as well. Manual says (16.6.3.2 Programmable input attenuation amplifier:
PGATM) that gain varies in range 0dB..22.5dB with 1.5dB step.

Signed-off-by: Siarhei Volkau &lt;lis8215@gmail.com&gt;
Link: https://lore.kernel.org/r/20221016132648.3011729-4-lis8215@gmail.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: codecs: jz4725b: fix reported volume for Master ctl</title>
<updated>2022-10-17T11:50:27Z</updated>
<author>
<name>Siarhei Volkau</name>
<email>lis8215@gmail.com</email>
</author>
<published>2022-10-16T13:26:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=088777bf65b98cfa4b5378119d0a7d49a58ece44'/>
<id>urn:sha1:088777bf65b98cfa4b5378119d0a7d49a58ece44</id>
<content type='text'>
DAC volume control is the Master Playback Volume at the moment
and it reports wrong levels in alsamixer and other alsa apps.

The patch fixes that, as stated in manual on the jz4725b SoC
(16.6.3.4 Programmable attenuation: GOD) the ctl range varies
from -22.5dB to 0dB with 1.5dB step.

Signed-off-by: Siarhei Volkau &lt;lis8215@gmail.com&gt;
Link: https://lore.kernel.org/r/20221016132648.3011729-3-lis8215@gmail.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: codecs: jz4725b: add missed Line In power control bit</title>
<updated>2022-10-17T11:50:26Z</updated>
<author>
<name>Siarhei Volkau</name>
<email>lis8215@gmail.com</email>
</author>
<published>2022-10-16T13:26:42Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=1013999b431b4bcdc1f5ae47dd3338122751db31'/>
<id>urn:sha1:1013999b431b4bcdc1f5ae47dd3338122751db31</id>
<content type='text'>
Line In path stayed powered off during capturing or
bypass to mixer.

Signed-off-by: Siarhei Volkau &lt;lis8215@gmail.com&gt;
Link: https://lore.kernel.org/r/20221016132648.3011729-2-lis8215@gmail.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: wm8962: Add an event handler for TEMP_HP and TEMP_SPK</title>
<updated>2022-10-13T12:01:33Z</updated>
<author>
<name>Xiaolei Wang</name>
<email>xiaolei.wang@windriver.com</email>
</author>
<published>2022-10-10T09:20:14Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=ee1aa2ae3eaa96e70229fa61deee87ef4528ffdf'/>
<id>urn:sha1:ee1aa2ae3eaa96e70229fa61deee87ef4528ffdf</id>
<content type='text'>
In wm8962 driver, the WM8962_ADDITIONAL_CONTROL_4 is used as a volatile
register, but this register mixes a bunch of volatile status bits and a
bunch of non-volatile control bits. The dapm widgets TEMP_HP and
TEMP_SPK leverages the control bits in this register. After the wm8962
probe, the regmap will bet set to cache only mode, then a read error
like below would be triggered when trying to read the initial power
state of the dapm widgets TEMP_HP and TEMP_SPK.
  wm8962 0-001a: ASoC: error at soc_component_read_no_lock
  on wm8962.0-001a: -16

In order to fix this issue, we add event handler to actually power
up/down these widgets. With this change, we also need to explicitly
power off these widgets in the wm8962 probe since they are enabled
by default.

Signed-off-by: Xiaolei Wang &lt;xiaolei.wang@windriver.com&gt;
Tested-by: Adam Ford &lt;aford173@gmail.com&gt;
Acked-by: Charles Keepax &lt;ckeepax@opensource.cirrus.com&gt;
Link: https://lore.kernel.org/r/20221010092014.2229246-1-xiaolei.wang@windriver.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
</feed>
