<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/spi, branch v4.3</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v4.3</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.3'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2015-10-07T10:43:39Z</updated>
<entry>
<title>Merge remote-tracking branches 'spi/fix/davinci' and 'spi/fix/sh-msiof' into spi-linus</title>
<updated>2015-10-07T10:43:39Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2015-10-07T10:43:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c2c80bdb9e91b412ea68f6dcc49c5d7b91e0b930'/>
<id>urn:sha1:c2c80bdb9e91b412ea68f6dcc49c5d7b91e0b930</id>
<content type='text'>
</content>
</entry>
<entry>
<title>spi: davinci: fix handling platform_get_irq result</title>
<updated>2015-09-25T18:08:08Z</updated>
<author>
<name>Andrzej Hajda</name>
<email>a.hajda@samsung.com</email>
</author>
<published>2015-09-24T14:00:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8494cdea2223b66491df1264619e2205b4487913'/>
<id>urn:sha1:8494cdea2223b66491df1264619e2205b4487913</id>
<content type='text'>
The function can return negative value.

The problem has been detected using proposed semantic patch
scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1].

[1]: http://permalink.gmane.org/gmane.linux.kernel/2046107

Signed-off-by: Andrzej Hajda &lt;a.hajda@samsung.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge remote-tracking branches 'spi/fix/spidev' and 'spi/fix/xtfpga' into spi-linus</title>
<updated>2015-09-22T16:48:41Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2015-09-22T16:48:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=711e020cae9cd105d81a783686cb8c8059c08b2c'/>
<id>urn:sha1:711e020cae9cd105d81a783686cb8c8059c08b2c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge remote-tracking branches 'spi/fix/atmel', 'spi/fix/bcm2835', 'spi/fix/doc', 'spi/fix/mediatek', 'spi/fix/meson', 'spi/fix/mtk' and 'spi/fix/pxa2xx' into spi-linus</title>
<updated>2015-09-22T16:48:34Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2015-09-22T16:48:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5132361cd97ed21863fb48bb8e4a0e6203a4269a'/>
<id>urn:sha1:5132361cd97ed21863fb48bb8e4a0e6203a4269a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>spi: xtensa-xtfpga: fix register endianness</title>
<updated>2015-09-22T16:30:10Z</updated>
<author>
<name>Max Filippov</name>
<email>jcmvbkbc@gmail.com</email>
</author>
<published>2015-09-22T11:32:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b0b4855099e301c8603ea37da9a0103a96c2e0b1'/>
<id>urn:sha1:b0b4855099e301c8603ea37da9a0103a96c2e0b1</id>
<content type='text'>
XTFPGA SPI controller has native endian registers.
Fix register acessors so that they work in big-endian configurations.

Signed-off-by: Max Filippov &lt;jcmvbkbc@gmail.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
Cc: stable@vger.kernel.org
</content>
</entry>
<entry>
<title>spi: meson: Fix module autoload for OF platform driver</title>
<updated>2015-09-19T14:55:25Z</updated>
<author>
<name>Luis de Bethencourt</name>
<email>luis@debethencourt.com</email>
</author>
<published>2015-09-18T17:42:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c9e97b3cb2b80deb94c092a2022a6d385b838d84'/>
<id>urn:sha1:c9e97b3cb2b80deb94c092a2022a6d385b838d84</id>
<content type='text'>
This platform driver has a OF device ID table but the OF module
alias information is not created so module autoloading won't work.

Signed-off-by: Luis de Bethencourt &lt;luisbg@osg.samsung.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>spi: mediatek: fix wrong error return value on probe</title>
<updated>2015-09-16T19:45:11Z</updated>
<author>
<name>Javier Martinez Canillas</name>
<email>javier@osg.samsung.com</email>
</author>
<published>2015-09-15T12:46:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e26d15f735f570a1178c3bba4d85e6f58e098fdd'/>
<id>urn:sha1:e26d15f735f570a1178c3bba4d85e6f58e098fdd</id>
<content type='text'>
Commit adcbcfea15d62 ("spi: mediatek: fix spi clock usage error")
added a new sel_clk but introduced bugs in the error paths since
the wrong struct clk pointers are passed to PTR_ERR().

Fixes: adcbcfea15d62 ("spi: mediatek: fix spi clock usage error")
Signed-off-by: Javier Martinez Canillas &lt;javier@osg.samsung.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'v4.3-rc1' into spi-fix-doc</title>
<updated>2015-09-16T19:44:25Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2015-09-16T19:44:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=92243b6fc8fcb16bf401b055f7a0ba79f70a4115'/>
<id>urn:sha1:92243b6fc8fcb16bf401b055f7a0ba79f70a4115</id>
<content type='text'>
Linux 4.3-rc1
</content>
</entry>
<entry>
<title>spi: spidev: fix possible NULL dereference</title>
<updated>2015-09-11T12:26:38Z</updated>
<author>
<name>Sudip Mukherjee</name>
<email>sudipm.mukherjee@gmail.com</email>
</author>
<published>2015-09-10T11:18:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=dd85ebf681ef0ee1fc985c353dd45e8b53b5dc1e'/>
<id>urn:sha1:dd85ebf681ef0ee1fc985c353dd45e8b53b5dc1e</id>
<content type='text'>
During the last close we are freeing spidev if spidev-&gt;spi is NULL, but
just before checking if spidev-&gt;spi is NULL we are dereferencing it.
Lets add a check there to avoid the NULL dereference.

Fixes: 9169051617df ("spi: spidev: Don't mangle max_speed_hz in underlying spi device")
Signed-off-by: Sudip Mukherjee &lt;sudip@vectorindia.org&gt;
Reviewed-by: Jarkko Nikula &lt;jarkko.nikula@linux.intel.com&gt;
Tested-by: Jarkko Nikula &lt;jarkko.nikula@linux.intel.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>spi: atmel: remove warning when !CONFIG_PM_SLEEP</title>
<updated>2015-09-10T10:09:52Z</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@free-electrons.com</email>
</author>
<published>2015-09-10T08:19:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d630526d0aa6acc0868dae892b1febda72029a3e'/>
<id>urn:sha1:d630526d0aa6acc0868dae892b1febda72029a3e</id>
<content type='text'>
When CONFIG_PM is defined but not CONFIG_PM_SLEEP (this happens when
CONFIG_SUSPEND is not defined), there is the following warning:

drivers/spi/spi-atmel.c:1723:12: warning: ‘atmel_spi_suspend’ defined but not used [-Wunused-function]
drivers/spi/spi-atmel.c:1741:12: warning: ‘atmel_spi_resume’ defined but not used [-Wunused-function]

Enclose both atmel_spi_suspend and atmel_spi_resume in #ifdef
CONFIG_PM_SLEEP/#endif to solve that.

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
</feed>
