<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git, branch Colibri_T30_LinuxImageV2.3Beta3_20141031</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>video: tegra: nvmap: prevent null pointer dereference</title>
<updated>2014-10-28T13:42:56+00:00</updated>
<author>
<name>Mariusz Glebocki</name>
<email>mglebocki@antmicro.com</email>
</author>
<published>2014-10-09T14:28:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=169a233f4779a7617179f825723d38f9832238f8'/>
<id>169a233f4779a7617179f825723d38f9832238f8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>apalis/colibri t30: fix audio hub lock-up</title>
<updated>2014-10-28T13:42:55+00:00</updated>
<author>
<name>Marcel Ziswiler</name>
<email>marcel.ziswiler@toradex.com</email>
</author>
<published>2014-09-25T21:38:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=0625688b466897845df130df7d66cb9ce8c369bb'/>
<id>0625688b466897845df130df7d66cb9ce8c369bb</id>
<content type='text'>
This patch fixes a clock related audio hub driver lock-up observed when
booting with mainline U-Boot which we are in the process of migrating
to now.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch fixes a clock related audio hub driver lock-up observed when
booting with mainline U-Boot which we are in the process of migrating
to now.
</pre>
</div>
</content>
</entry>
<entry>
<title>mmc: tegra: mark host as CMD23 capable</title>
<updated>2014-10-28T13:42:55+00:00</updated>
<author>
<name>Stefan Agner</name>
<email>stefan.agner@toradex.com</email>
</author>
<published>2014-09-25T13:22:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d53e5314cb04786b7cab4afe5529a06fbf5f7db8'/>
<id>d53e5314cb04786b7cab4afe5529a06fbf5f7db8</id>
<content type='text'>
Newer eMMC standards use CMD23 for multi-block transfer. These
command has the advantage that only one command is necessary, no
stop command after the transfer is required. The kernel already
supports this command, but we need to enable the capability on
the host level.

Tests verified that the MMC code detects that SD-card do not
support CMD23 and hence don't use that command.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Newer eMMC standards use CMD23 for multi-block transfer. These
command has the advantage that only one command is necessary, no
stop command after the transfer is required. The kernel already
supports this command, but we need to enable the capability on
the host level.

Tests verified that the MMC code detects that SD-card do not
support CMD23 and hence don't use that command.
</pre>
</div>
</content>
</entry>
<entry>
<title>yaffs: fix spinning when flush inodes</title>
<updated>2014-10-28T13:42:35+00:00</updated>
<author>
<name>Stefan Agner</name>
<email>stefan.agner@toradex.com</email>
</author>
<published>2014-09-19T12:09:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=88ffc75a690481a20bf8dd2b864f3ba91a698532'/>
<id>88ffc75a690481a20bf8dd2b864f3ba91a698532</id>
<content type='text'>
While in list_for_each_entry() of yaffs_flush_inodes, the fs code
can delete inodes. This leads to an endless loop which causes a
softlockup. Typically this happend in sync_supers when creating
and deleting files while under CPU load.

This fix checks whether we get twice the same inode. If this is
true, we just retry again.

This is an alternative fix to the proposed fix Jisheng Zhang:
yaffs: fix softlockup cauesed by inode deleted when scanning s_inodes list
http://www.aleph1.co.uk/lurker/message/20110831.075307.3cfeacdf.fr.html
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While in list_for_each_entry() of yaffs_flush_inodes, the fs code
can delete inodes. This leads to an endless loop which causes a
softlockup. Typically this happend in sync_supers when creating
and deleting files while under CPU load.

This fix checks whether we get twice the same inode. If this is
true, we just retry again.

This is an alternative fix to the proposed fix Jisheng Zhang:
yaffs: fix softlockup cauesed by inode deleted when scanning s_inodes list
http://www.aleph1.co.uk/lurker/message/20110831.075307.3cfeacdf.fr.html
</pre>
</div>
</content>
</entry>
<entry>
<title>yaffs: fix function prototype</title>
<updated>2014-09-25T13:21:40+00:00</updated>
<author>
<name>Stefan Agner</name>
<email>stefan.agner@toradex.com</email>
</author>
<published>2014-09-19T07:44:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=5fc897d5626f59d7fcda45d41401f0baaf558c1f'/>
<id>5fc897d5626f59d7fcda45d41401f0baaf558c1f</id>
<content type='text'>
The fsync function in the fs.h header file in our kernel version has
two additional function introduced by this commit:

02c24a82187d5a628c68edfe71ae60dc135cd178
fs: push i_mutex and filemap_write_and_wait down into -&gt;fsync() handlers

Update the function prototype for YAFFS2 too to avoid missinterpreted
datasync parameter and to avoid warnings.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The fsync function in the fs.h header file in our kernel version has
two additional function introduced by this commit:

02c24a82187d5a628c68edfe71ae60dc135cd178
fs: push i_mutex and filemap_write_and_wait down into -&gt;fsync() handlers

Update the function prototype for YAFFS2 too to avoid missinterpreted
datasync parameter and to avoid warnings.
</pre>
</div>
</content>
</entry>
<entry>
<title>ASoC: sgtl5000: Fix the cache handling</title>
<updated>2014-09-16T13:26:29+00:00</updated>
<author>
<name>Fabio Estevam</name>
<email>fabio.estevam@freescale.com</email>
</author>
<published>2014-05-26T13:34:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=3273c585dfef2c846744c62d7392047672dade31'/>
<id>3273c585dfef2c846744c62d7392047672dade31</id>
<content type='text'>
Since commit e5d80e82e32e (ASoC: sgtl5000: Convert to use regmap directly) a
kernel oops is observed after a suspend/resume sequence.

The kernel oops happens inside sgtl5000_restore_regs() as codec-&gt;reg_cache is no
longer a valid pointer.

Add the remaining register entries into sgtl5000_reg_defaults[] and remove
sgtl5000_restore_regs() completely, which allows suspend/resume to work fine and
make the code simpler.

Tested on a im53-qsb board.

Reported-by: Shawn Guo &lt;shawn.guo@freescale.com&gt;
Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Tested-by: Shawn Guo &lt;shawn.guo@freescale.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
(cherry picked from commit 29aa37cddfb9b721013ff28608200d73a9426368)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since commit e5d80e82e32e (ASoC: sgtl5000: Convert to use regmap directly) a
kernel oops is observed after a suspend/resume sequence.

The kernel oops happens inside sgtl5000_restore_regs() as codec-&gt;reg_cache is no
longer a valid pointer.

Add the remaining register entries into sgtl5000_reg_defaults[] and remove
sgtl5000_restore_regs() completely, which allows suspend/resume to work fine and
make the code simpler.

Tested on a im53-qsb board.

Reported-by: Shawn Guo &lt;shawn.guo@freescale.com&gt;
Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Tested-by: Shawn Guo &lt;shawn.guo@freescale.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
(cherry picked from commit 29aa37cddfb9b721013ff28608200d73a9426368)
</pre>
</div>
</content>
</entry>
<entry>
<title>ASoC: sgtl5000: fix codec clock source transition to avoid clockless moment</title>
<updated>2014-09-16T13:18:38+00:00</updated>
<author>
<name>Oskar Schirmer</name>
<email>oskar@scara.com</email>
</author>
<published>2013-08-05T07:36:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ecece06ca136c5ed43495f53bc80dcc639cf513f'/>
<id>ecece06ca136c5ed43495f53bc80dcc639cf513f</id>
<content type='text'>
Powering down PLL before switching to a mode that does not use it
is a bad idea. It would cause the SGTL5000 be without internal
clock supply, especially on the I2C interface, which would make
subsequent access to it fail.

Thus, in case of not using PLL any longer, first set the mode
control, then power down PLL.

Signed-off-by: Oskar Schirmer &lt;oskar@scara.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
(cherry picked from commit e06e4c2d530fd4995c41083009647263ccd77d3b)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Powering down PLL before switching to a mode that does not use it
is a bad idea. It would cause the SGTL5000 be without internal
clock supply, especially on the I2C interface, which would make
subsequent access to it fail.

Thus, in case of not using PLL any longer, first set the mode
control, then power down PLL.

Signed-off-by: Oskar Schirmer &lt;oskar@scara.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
(cherry picked from commit e06e4c2d530fd4995c41083009647263ccd77d3b)
</pre>
</div>
</content>
</entry>
<entry>
<title>ASoC: sgtl5000: fix buggy 'Capture Attenuate Switch' control</title>
<updated>2014-09-16T13:17:50+00:00</updated>
<author>
<name>Lothar Waßmann</name>
<email>LW@KARO-electronics.de</email>
</author>
<published>2013-07-31T14:44:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=6a8d3250ba31b2380111a2cd4410ecd84711ef1a'/>
<id>6a8d3250ba31b2380111a2cd4410ecd84711ef1a</id>
<content type='text'>
The SGTL5000 Capture Attenuate Switch (or "ADC Volume Range Reduction"
as it is called in the manual) is single bit only.

Signed-off-by: Lothar Waßmann &lt;LW@KARO-electronics.de&gt;
Reviewed-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
(cherry picked from commit 65f2b226763bc348a9b9145aa5e17e7e3f6d8c35)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The SGTL5000 Capture Attenuate Switch (or "ADC Volume Range Reduction"
as it is called in the manual) is single bit only.

Signed-off-by: Lothar Waßmann &lt;LW@KARO-electronics.de&gt;
Reviewed-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
(cherry picked from commit 65f2b226763bc348a9b9145aa5e17e7e3f6d8c35)
</pre>
</div>
</content>
</entry>
<entry>
<title>ASoC: sgtl5000: prevent playback to be muted when terminating concurrent capture</title>
<updated>2014-09-16T13:17:03+00:00</updated>
<author>
<name>Lothar Waßmann</name>
<email>LW@KARO-electronics.de</email>
</author>
<published>2013-07-31T14:44:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b5d71e418f12641d4813287b10dd68b3e570e799'/>
<id>b5d71e418f12641d4813287b10dd68b3e570e799</id>
<content type='text'>
When a sound capture/playback is terminated while a playback/capture
is running, power_vag_event() will clear SGTL5000_CHIP_ANA_POWER in
the SND_SOC_DAPM_PRE_PMD event, thus muting the respective other
channel.

Don't clear SGTL5000_CHIP_ANA_POWER when both DAC and ADC are active
to prevent this.

Signed-off-by: Lothar Waßmann &lt;LW@KARO-electronics.de&gt;
Reviewed-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
(cherry picked from commit f091f3f07328f75d20a2a5970d1f8b58d95fc990)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a sound capture/playback is terminated while a playback/capture
is running, power_vag_event() will clear SGTL5000_CHIP_ANA_POWER in
the SND_SOC_DAPM_PRE_PMD event, thus muting the respective other
channel.

Don't clear SGTL5000_CHIP_ANA_POWER when both DAC and ADC are active
to prevent this.

Signed-off-by: Lothar Waßmann &lt;LW@KARO-electronics.de&gt;
Reviewed-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
(cherry picked from commit f091f3f07328f75d20a2a5970d1f8b58d95fc990)
</pre>
</div>
</content>
</entry>
<entry>
<title>ASoC: sglt5000: Fix the default value of CHIP_SSS_CTRL</title>
<updated>2014-09-16T13:08:37+00:00</updated>
<author>
<name>Fabio Estevam</name>
<email>fabio.estevam@freescale.com</email>
</author>
<published>2013-07-04T23:01:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=0d209e2e797ae2339fdf4ca1ed3d66fda2536e87'/>
<id>0d209e2e797ae2339fdf4ca1ed3d66fda2536e87</id>
<content type='text'>
According to the sgtl5000 reference manual, the default value of CHIP_SSS_CTRL
is 0x10.

Reported-by: Oskar Schirmer &lt;oskar@scara.com&gt;
Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
Cc: stable@vger.kernel.org
(cherry picked from commit 016fcab8ff46fca29375d484226ec91932aa4a07)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to the sgtl5000 reference manual, the default value of CHIP_SSS_CTRL
is 0x10.

Reported-by: Oskar Schirmer &lt;oskar@scara.com&gt;
Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
Cc: stable@vger.kernel.org
(cherry picked from commit 016fcab8ff46fca29375d484226ec91932aa4a07)
</pre>
</div>
</content>
</entry>
</feed>
