<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lwn.git/sound/soc/codecs/da7219.c, branch standardize-docs</title>
<subtitle>Linux kernel documentation tree maintained by Jonathan Corbet</subtitle>
<id>http://mirrors.hust.edu.cn/git/lwn.git/atom?h=standardize-docs</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/lwn.git/atom?h=standardize-docs'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/'/>
<updated>2017-06-19T15:39:15+00:00</updated>
<entry>
<title>ASoC: da7219: Fix HP detection procedure for all MCLK frequencies</title>
<updated>2017-06-19T15:39:15+00:00</updated>
<author>
<name>Adam Thomson</name>
<email>Adam.Thomson.Opensource@diasemi.com</email>
</author>
<published>2017-06-19T09:56:33+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=2a0c2189d8170d52da64543cbf955f0908c15e70'/>
<id>urn:sha1:2a0c2189d8170d52da64543cbf955f0908c15e70</id>
<content type='text'>
Currently when HP detection procedure runs for certain MCLK
frequencies, when PLL is bypassed, the procedure will incorrectly
report Lineout instead of Headphones due to timing incosistencies.
To avoid this problem, the PLL is temporarily enabled (if currently
bypassed and MCLK present) to provide consistent timings for the
procedure, regardless of MCLK frequency.

Signed-off-by: Adam Thomson &lt;Adam.Thomson.Opensource@diasemi.com&gt;
Acked-by: Sathyanarayana Nujella &lt;sathyanarayana.nujella@intel.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge remote-tracking branches 'asoc/fix/da7219-pops' and 'asoc/fix/qcom' into asoc-linus</title>
<updated>2016-12-12T15:52:37+00:00</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2016-12-12T15:52:37+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=1e570a83ad90f1e47540acd11cf1fac9da120815'/>
<id>urn:sha1:1e570a83ad90f1e47540acd11cf1fac9da120815</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ASoC: da7219: Connect output enable register to DAIOUT</title>
<updated>2016-10-28T17:04:26+00:00</updated>
<author>
<name>Stephen Barber</name>
<email>smbarber@chromium.org</email>
</author>
<published>2016-10-28T01:02:27+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=d64b5bf5b10ad95fd4a2684e1fc39eb7b00d9d0c'/>
<id>urn:sha1:d64b5bf5b10ad95fd4a2684e1fc39eb7b00d9d0c</id>
<content type='text'>
da7219 output (for headset capture) should be set to high-impedance when
not in use, since it will otherwise interfere with output from other
codecs attached to the same DAI.

Signed-off-by: Stephen Barber &lt;smbarber@chromium.org&gt;
Acked-by: Adam Thomson &lt;Adam.Thomson.Opensource@diasemi.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: da7219: Improve pop/click performance for sensitive HPs</title>
<updated>2016-10-05T11:53:11+00:00</updated>
<author>
<name>Adam Thomson</name>
<email>Adam.Thomson.Opensource@diasemi.com</email>
</author>
<published>2016-10-03T10:21:01+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=86834511c2acd23e214d5739e9ea58e31b975d1f'/>
<id>urn:sha1:86834511c2acd23e214d5739e9ea58e31b975d1f</id>
<content type='text'>
Currently on some headsets slight pops can be heard during DAPM
power-up/down. This can also be witnessed during the HP detect
procedure. This patch addresses the issue by adjusting DAPM power
sequencing slightly, the introduction of delays and use of
minimum HP gain to avoid such noise artefacts.

Signed-off-by: Adam Thomson &lt;Adam.Thomson.Opensource@diasemi.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge remote-tracking branches 'asoc/topic/da7218', 'asoc/topic/da7219' and 'asoc/topic/dpcm' into asoc-next</title>
<updated>2016-09-29T19:44:21+00:00</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2016-09-29T19:44:21+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=480d060b9e45c17933b2566401a2f1b12e7dc826'/>
<id>urn:sha1:480d060b9e45c17933b2566401a2f1b12e7dc826</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge remote-tracking branches 'asoc/topic/ac97', 'asoc/topic/ak4104', 'asoc/topic/arizona', 'asoc/topic/atmel' and 'asoc/topic/codec-component' into asoc-next</title>
<updated>2016-09-29T19:44:07+00:00</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2016-09-29T19:44:07+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=7c90fc73bf78aa1f390c65f86a43ffae543a248d'/>
<id>urn:sha1:7c90fc73bf78aa1f390c65f86a43ffae543a248d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ASoC: da7219: fix inappropriate condition statement</title>
<updated>2016-09-27T16:49:13+00:00</updated>
<author>
<name>Takashi Sakamoto</name>
<email>o-takashi@sakamocchi.jp</email>
</author>
<published>2016-09-26T22:45:07+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=a56a569818ea831ed2325dc5d1122dc0b8a229d0'/>
<id>urn:sha1:a56a569818ea831ed2325dc5d1122dc0b8a229d0</id>
<content type='text'>
Sparse reports a below warning.

sound/soc/codecs/da7219.c:804:57: warning: dubious: x &amp; !y

The line includes a condition statement; '(a &lt; b) &amp; !c'. Practically, the
evaluated value of this statement equals to the value of '(a &lt; b) &amp;&amp; !c'.
Although, it's not an usual way to use bitwise operations as logical
operations to several conditions.

This commit fixes the bug.

Signed-off-by: Takashi Sakamoto &lt;o-takashi@sakamocchi.jp&gt;
Acked-by: Adam Thomson &lt;Adam.Thomson.Opensource@diasemi.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: da7219: Disable AAD if codec is not a wake-up source</title>
<updated>2016-09-26T16:39:50+00:00</updated>
<author>
<name>Adam Thomson</name>
<email>Adam.Thomson.Opensource@diasemi.com</email>
</author>
<published>2016-09-26T13:29:21+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=bb0c35fcaf8f2ad3383dd43ca8abf5203cd06cc3'/>
<id>urn:sha1:bb0c35fcaf8f2ad3383dd43ca8abf5203cd06cc3</id>
<content type='text'>
Currently if AAD is enabled in the device, during system suspend
the feature remains, regardless of whether the codec is a wake-up
source or not. This means some additional power is being used
which is unnecessary, and can causes issues with some platforms'
IRQ handlers where state changes during system suspend aren't
captured.

This patch updates the driver to disable AAD during suspend, if
we're not a wake-up source, and then re-enables this on resume.

Signed-off-by: Adam Thomson &lt;Adam.Thomson.Opensource@diasemi.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: da7219: Reset codec gracefully, if still active</title>
<updated>2016-09-26T16:39:40+00:00</updated>
<author>
<name>Adam Thomson</name>
<email>Adam.Thomson.Opensource@diasemi.com</email>
</author>
<published>2016-09-26T13:29:20+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=a7f16ea90ecffde4d4915eb7c81b11428e636920'/>
<id>urn:sha1:a7f16ea90ecffde4d4915eb7c81b11428e636920</id>
<content type='text'>
Currently the reset code in i2c_probe only resets the AAD part of
the device and not the entire codec. This patch updates the driver
to resolve this and ensures that if the codec is still active from
a previous boot then the audio paths are powered down prior to
reset.

Signed-off-by: Adam Thomson &lt;Adam.Thomson.Opensource@diasemi.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'fix/da7219' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-da7219</title>
<updated>2016-09-26T16:39:35+00:00</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2016-09-26T16:39:35+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=8339f0b6b209b640afe8381aa9b5d7accfeaf848'/>
<id>urn:sha1:8339f0b6b209b640afe8381aa9b5d7accfeaf848</id>
<content type='text'>
</content>
</entry>
</feed>
