<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/sound/soc/codecs/rt274.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>2019-01-04T13:49:23Z</updated>
<entry>
<title>ASoC: Variable "val" in function rt274_i2c_probe() could be uninitialized</title>
<updated>2019-01-04T13:49:23Z</updated>
<author>
<name>Yizhuo</name>
</author>
<published>2019-01-03T21:59:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8c3590de0a378c2449fc1aec127cc693632458e4'/>
<id>urn:sha1:8c3590de0a378c2449fc1aec127cc693632458e4</id>
<content type='text'>
Inside function rt274_i2c_probe(), if regmap_read() function
returns -EINVAL, then local variable "val" leaves uninitialized
but used in if statement. This is potentially unsafe.

Signed-off-by: Yizhuo &lt;yzhai003@ucr.edu&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: rt274: Add fall-through annotations</title>
<updated>2018-10-05T11:38:20Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2018-10-04T18:30:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0beeb4baf56bd9deb920712a4034541fb33bbbe0'/>
<id>urn:sha1:0beeb4baf56bd9deb920712a4034541fb33bbbe0</id>
<content type='text'>
As a preparatory patch for the upcoming -Wimplicit-fallthrough
compiler checks, add the "fall through" annotations in rt274 driver.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: rt274: replace codec to component</title>
<updated>2018-02-12T09:45:38Z</updated>
<author>
<name>Kuninori Morimoto</name>
</author>
<published>2018-01-29T03:15:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f548dd4f871b827763479e15654c7f0b935e28ee'/>
<id>urn:sha1:f548dd4f871b827763479e15654c7f0b935e28ee</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 = 1	-&gt;	.idle_bias_on = 0
	.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>Merge remote-tracking branches 'asoc/topic/rk3036', 'asoc/topic/rockchip', 'asoc/topic/rt274' and 'asoc/topic/rt5514' into asoc-next</title>
<updated>2017-09-01T11:12:55Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2017-09-01T11:12:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e5fadb7281ed7c86d0d2ad394588ac3eda99b019'/>
<id>urn:sha1:e5fadb7281ed7c86d0d2ad394588ac3eda99b019</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ASoC: rt274: add acpi id</title>
<updated>2017-08-30T15:06:22Z</updated>
<author>
<name>Bard Liao</name>
</author>
<published>2017-08-30T04:28:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=60b0fdeac19945107b956a8a2a0ba3a14827db60'/>
<id>urn:sha1:60b0fdeac19945107b956a8a2a0ba3a14827db60</id>
<content type='text'>
Add ACPI id for Intel platform.

Signed-off-by: Guneshwor Singh &lt;guneshwor.o.singh@intel.com&gt;
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: 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: rt274: correct comment style</title>
<updated>2017-07-19T10:55:08Z</updated>
<author>
<name>Bard Liao</name>
</author>
<published>2017-07-19T01:52:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=49a69163ddbe47063be960ad5c2fcfe94c8b473b'/>
<id>urn:sha1:49a69163ddbe47063be960ad5c2fcfe94c8b473b</id>
<content type='text'>
There was a comment style issue in the driver.

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: rt274: add rt274 codec driver</title>
<updated>2017-07-18T13:46:20Z</updated>
<author>
<name>Bard Liao</name>
</author>
<published>2017-07-14T06:25:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c7e79b2b2d2d7c13c6162ed8672357f4ad0fd8f5'/>
<id>urn:sha1:c7e79b2b2d2d7c13c6162ed8672357f4ad0fd8f5</id>
<content type='text'>
RT274 is a HD-A/SOC dual mode codec. This is the initial codec driver
of SOC mode.

Signed-off-by: Bard Liao &lt;bardliao@realtek.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
</feed>
