<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/sound/soc/codecs/rt5631.c, branch linux-5.0.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.0.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.0.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2018-08-06T11:35:12Z</updated>
<entry>
<title>ASoC: rt5631: use true and false for boolean values</title>
<updated>2018-08-06T11:35:12Z</updated>
<author>
<name>Gustavo A. R. Silva</name>
</author>
<published>2018-08-04T21:49:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=508e8641f89cc89554adbec3ce59bcd28a4ced4b'/>
<id>urn:sha1:508e8641f89cc89554adbec3ce59bcd28a4ced4b</id>
<content type='text'>
Return statements in functions returning bool should use true or false
instead of an integer value.

This code was detected with the help of Coccinelle.

Signed-off-by: Gustavo A. R. Silva &lt;gustavo@embeddedor.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: rt5631: add Volume to the name of volume control</title>
<updated>2018-07-25T16:13:40Z</updated>
<author>
<name>Bard Liao</name>
</author>
<published>2018-07-20T01:48:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d77a760842751eb620a7e74f74e5a5ad6b3d6cef'/>
<id>urn:sha1:d77a760842751eb620a7e74f74e5a5ad6b3d6cef</id>
<content type='text'>
add Volume to the name of volume control.

Signed-off-by: Bard Liao &lt;bardliao@realtek.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: rt5631: replace codec to component</title>
<updated>2018-02-12T09:46:29Z</updated>
<author>
<name>Kuninori Morimoto</name>
</author>
<published>2018-01-29T03:48:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=46295e5e7ae53bf3c508892589b269576cd62bc3'/>
<id>urn:sha1:46295e5e7ae53bf3c508892589b269576cd62bc3</id>
<content type='text'>
Now we can replace Codec to Component. Let's do it.

Note:
	xxx_codec_xxx()		-&gt;	xxx_component_xxx()
	.idle_bias_off = 0	-&gt;	.idle_bias_on = 1
	.ignore_pmdown_time = 0	-&gt;	.use_pmdown_time = 1
	-			-&gt;	.endianness = 1
	-			-&gt;	.non_legacy_dai_naming = 1

Signed-off-by: Kuninori Morimoto &lt;kuninori.morimoto.gx@renesas.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: codecs: add const to snd_soc_codec_driver structures</title>
<updated>2017-08-10T15:10:50Z</updated>
<author>
<name>Bhumika Goyal</name>
</author>
<published>2017-08-03T16:00:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a180ba45b1cf630b3bd5912ce235b2ee16606b8e'/>
<id>urn:sha1:a180ba45b1cf630b3bd5912ce235b2ee16606b8e</id>
<content type='text'>
Declare snd_soc_codec_driver structures as const as they are only passed
as an argument to the function snd_soc_register_codec. This argument is
of type const, so declare the structures with this property as const.
In file codecs/sn95031.c, snd_soc_codec_driver structure is also used in
a copy operation along with getting passed to snd_soc_register_codec.
So, it can be made const too.
Done using Coccinelle:

@match disable optional_qualifier@
identifier s;
position p;
@@
static struct snd_soc_codec_driver s@p={...};

@good1@
identifier match.s;
position p;
@@
snd_soc_register_codec(...,&amp;s@p,...)

@bad@
identifier match.s;
position p!={match.p,good1.p};
@@
s@p

@depends on !bad disable optional_qualifier@
identifier match.s;
@@
static
+const
struct snd_soc_codec_driver s={...};

Signed-off-by: Bhumika Goyal &lt;bhumirks@gmail.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: codec duplicated callback function goes to component on rt5631</title>
<updated>2016-08-08T10:57:57Z</updated>
<author>
<name>Kuninori Morimoto</name>
</author>
<published>2016-08-08T08:58:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f78bc2bf1d336246c85fe5a009104fe7c3f586d9'/>
<id>urn:sha1:f78bc2bf1d336246c85fe5a009104fe7c3f586d9</id>
<content type='text'>
codec driver and component driver has duplicated callback functions,
and codec side functions are just copied to component side when
register timing. This was quick-hack, but no longer needed.
This patch moves these functions from codec driver to component driver.

Signed-off-by: Kuninori Morimoto &lt;kuninori.morimoto.gx@renesas.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge remote-tracking branches 'asoc/topic/tas2552', 'asoc/topic/tas5086', 'asoc/topic/tegra', 'asoc/topic/tlv' and 'asoc/topic/topology' into asoc-next</title>
<updated>2015-08-30T14:57:34Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2015-08-30T14:57:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=428157c1e8c9eaf0029430ae82ec0df8578de46b'/>
<id>urn:sha1:428157c1e8c9eaf0029430ae82ec0df8578de46b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ASoC: rt5631: Replace TLV_DB_RANGE_HEAD with DECLARE_TLV_DB_RANGE</title>
<updated>2015-08-05T12:23:11Z</updated>
<author>
<name>Lars-Peter Clausen</name>
</author>
<published>2015-08-02T15:19:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7f708abeac7d12f00b200848aa0cafe589ea8454'/>
<id>urn:sha1:7f708abeac7d12f00b200848aa0cafe589ea8454</id>
<content type='text'>
DECLARE_TLV_DB_RANGE() has the advantage over using TLV_DB_RANGE_HEAD()
that it automatically calculates the number of items in the TLV and is
hence less prone to manual error.

Generate using the following coccinelle script

// &lt;smpl&gt;
@@
declarer name DECLARE_TLV_DB_RANGE;
identifier tlv;
constant x;
@@
-unsigned int tlv[] = {
-	TLV_DB_RANGE_HEAD(x),
+DECLARE_TLV_DB_RANGE(tlv,
	...
-};
+);
// &lt;/smpl&gt;

Signed-off-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: drivers: Drop owner assignment from i2c_driver</title>
<updated>2015-07-15T11:50:43Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2015-07-15T04:21:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1c07a4de5baad76585f7ffb86b5b0bc34c33e8a6'/>
<id>urn:sha1:1c07a4de5baad76585f7ffb86b5b0bc34c33e8a6</id>
<content type='text'>
i2c_driver does not need to set an owner because i2c_register_driver()
will set it.

Signed-off-by: Krzysztof Kozlowski &lt;k.kozlowski@samsung.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: rt5631: Replace direct snd_soc_codec dapm field access</title>
<updated>2015-05-20T10:18:32Z</updated>
<author>
<name>Lars-Peter Clausen</name>
</author>
<published>2015-05-19T19:49:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=61aad0b91c537436932d399b14d1e9412e58c438'/>
<id>urn:sha1:61aad0b91c537436932d399b14d1e9412e58c438</id>
<content type='text'>
The dapm field of the snd_soc_codec struct is eventually going to be
removed, in preparation for this replace all manual access to
codec-&gt;dapm.bias_level with snd_soc_codec_get_bias_level() and
snd_soc_codec_init_bias_level().

Signed-off-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: Move bias level update to the core</title>
<updated>2015-04-27T20:34:45Z</updated>
<author>
<name>Lars-Peter Clausen</name>
</author>
<published>2015-04-27T20:13:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f4bf8d770b58862c2af9d17adc2fee05bef8f2c0'/>
<id>urn:sha1:f4bf8d770b58862c2af9d17adc2fee05bef8f2c0</id>
<content type='text'>
All drivers have the same line at the end of the set_bias_level callback to
update the bias_level state. Move this update into
snd_soc_dapm_force_bias_level() and remove them from the drivers.

Signed-off-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
</feed>
