<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/sound/i2c, branch master</title>
<subtitle>Linux Kernel</subtitle>
<id>https://git.etezian.org/cgit.cgi/linux.git/atom?h=master</id>
<link rel='self' href='https://git.etezian.org/cgit.cgi/linux.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/'/>
<updated>2016-07-12T10:28:04+00:00</updated>
<entry>
<title>ALSA: ak4114: remove redundant check on err being &lt; 0</title>
<updated>2016-07-12T10:28:04+00:00</updated>
<author>
<name>Colin Ian King</name>
<email>colin.king@canonical.com</email>
</author>
<published>2016-07-12T10:26:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=5137d6da462d26bb2cb0c7a6960888adb789fb3d'/>
<id>urn:sha1:5137d6da462d26bb2cb0c7a6960888adb789fb3d</id>
<content type='text'>
snd_ak4114_create checks if the error return err is less than zero
or not.  This is a redundant check, err can only be &lt; 0 to get to
the __fail label, in which case just return err and remove the
redundant check (since we never return -EIO).

Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: ak4117: remove redundant check on err being &lt; 0</title>
<updated>2016-07-12T10:26:09+00:00</updated>
<author>
<name>Colin Ian King</name>
<email>colin.king@canonical.com</email>
</author>
<published>2016-07-12T10:22:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=3805e6a18d459d520fb921698e3e3e21d8a039db'/>
<id>urn:sha1:3805e6a18d459d520fb921698e3e3e21d8a039db</id>
<content type='text'>
snd_ak4117_create checks if the error return err is less than zero
or not.  This is a redundant check, err can only be &lt; 0 to get to
the __fail label, in which case just return err and remove the
redundant check (since we never return -EIO).

Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: i2c: constify snd_i2c_ops structures</title>
<updated>2015-11-30T10:40:08+00:00</updated>
<author>
<name>Julia Lawall</name>
<email>Julia.Lawall@lip6.fr</email>
</author>
<published>2015-11-29T17:25:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=5df29bca125277eec68fc31c0c0ba41b9a3cb78b'/>
<id>urn:sha1:5df29bca125277eec68fc31c0c0ba41b9a3cb78b</id>
<content type='text'>
The snd_i2c_ops structures are never modified, so declare them as const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall &lt;Julia.Lawall@lip6.fr&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: ak4xxx-adda: Drop unnecessary ifdef CONFIG_PROC_FS</title>
<updated>2015-05-29T05:51:23+00:00</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2015-05-29T05:51:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=4bce6fce79b4df8a30478504ca49ebecdffff2b0'/>
<id>urn:sha1:4bce6fce79b4df8a30478504ca49ebecdffff2b0</id>
<content type='text'>
The compiler can optimize it away if not needed.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: ak411x: simplify snd_ak4113_create() a bit</title>
<updated>2015-03-23T12:58:59+00:00</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2015-03-23T09:34:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=034f90b393a3d5c99654f048c4b22b3d05e3a345'/>
<id>urn:sha1:034f90b393a3d5c99654f048c4b22b3d05e3a345</id>
<content type='text'>
"err" is always a negative error code here, so there is no point in
checking.  Removing the check silences a static checker warning and
makes the code a bit more clear.  Also we don't need to initialize "err".

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>Merge branch 'topic/ak411x-fix' into for-next</title>
<updated>2015-01-28T21:32:10+00:00</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2015-01-28T21:32:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=d832f3dcb6e2d153fbb69b91931058d138bc41cb'/>
<id>urn:sha1:d832f3dcb6e2d153fbb69b91931058d138bc41cb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ALSA: ak411x: Fix race of reinit() calls</title>
<updated>2015-01-28T21:30:18+00:00</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2015-01-16T12:03:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=1781e78c63317c04e6ae6a076acfd53236f420bc'/>
<id>urn:sha1:1781e78c63317c04e6ae6a076acfd53236f420bc</id>
<content type='text'>
Protect the call with a mutex, as this may be called in parallel
(either from the PCM rate change and the clock change).

Acked-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
Tested-by: Pavel Hofman &lt;pavel.hofman@ivitera.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: ak411x: Add PM helper functions</title>
<updated>2015-01-28T21:30:12+00:00</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2015-01-13T10:24:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=1293617cddc40971917150e3f5bf66b7306e2e7e'/>
<id>urn:sha1:1293617cddc40971917150e3f5bf66b7306e2e7e</id>
<content type='text'>
Define snd_ak4114_suspend() and snd_ak4114_resume() functions to
handle PM properly, stopping and restarting the work at PM.
Currently only ice1712/juli.c deals with the PM and ak4114, so fix the
calls there appropriately.

The same PM functions are defined in ak4113.c, too, although they
aren't currently called yet (ice1712/quartet.c may be enhanced to
support PM later).

Acked-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
Tested-by: Pavel Hofman &lt;pavel.hofman@ivitera.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: ak4114: Move EXPORT_SYMBOL() after each function</title>
<updated>2015-01-28T21:29:34+00:00</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2015-01-13T09:58:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=a850ef8afd3cd1eecd2e136f8dca0c06599eade8'/>
<id>urn:sha1:a850ef8afd3cd1eecd2e136f8dca0c06599eade8</id>
<content type='text'>
... just to follow the standard coding style.

Acked-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
Tested-by: Pavel Hofman &lt;pavel.hofman@ivitera.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: ak411x: Fix stall in work callback</title>
<updated>2015-01-28T21:29:20+00:00</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2015-01-13T09:53:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=4161b4505f1690358ac0a9ee59845a7887336b21'/>
<id>urn:sha1:4161b4505f1690358ac0a9ee59845a7887336b21</id>
<content type='text'>
When ak4114 work calls its callback and the callback invokes
ak4114_reinit(), it stalls due to flush_delayed_work().  For avoiding
this, control the reentrance by introducing a refcount.  Also
flush_delayed_work() is replaced with cancel_delayed_work_sync().

The exactly same bug is present in ak4113.c and fixed as well.

Reported-by: Pavel Hofman &lt;pavel.hofman@ivitera.com&gt;
Acked-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
Tested-by: Pavel Hofman &lt;pavel.hofman@ivitera.com&gt;
Cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
</feed>
