<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/spi, branch v3.13.3</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/spi?h=v3.13.3</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/spi?h=v3.13.3'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2014-02-13T21:55:33Z</updated>
<entry>
<title>spi/pxa2xx: initialize DMA channels to -1 to prevent inadvertent match</title>
<updated>2014-02-13T21:55:33Z</updated>
<author>
<name>Mika Westerberg</name>
<email>mika.westerberg@linux.intel.com</email>
</author>
<published>2014-01-13T09:17:04Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=65da6936f0922d4e7d097d28a5f0e88718f76652'/>
<id>urn:sha1:65da6936f0922d4e7d097d28a5f0e88718f76652</id>
<content type='text'>
commit 483c319188c74e82b29a0ed7a7fa7065570f2193 upstream.

Commit cddb339badb0 (spi/pxa2xx: convert to dma_request_slave_channel_compat())
converted the driver to use ACPI provided DMA helpers but it forgot to
initialize the platform data for the channels to -1. Failing to do so will
result inadvertent match in the filter function because 0 is a valid
channel number.

Prevent this from happening by initializing both platform data channels
correctly to -1.

Fixes: cddb339badb0 (spi/pxa2xx: convert to dma_request_slave_channel_compat())
Signed-off-by: Mika Westerberg &lt;mika.westerberg@linux.intel.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>spidev: fix hang when transfer_one_message fails</title>
<updated>2014-02-13T21:55:33Z</updated>
<author>
<name>Daniel Santos</name>
<email>daniel.santos@pobox.com</email>
</author>
<published>2014-01-05T23:39:26Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=26e8452e66ce0f5c86d70a7251de1392a62d8a2e'/>
<id>urn:sha1:26e8452e66ce0f5c86d70a7251de1392a62d8a2e</id>
<content type='text'>
commit e120cc0dcf2880a4c5c0a6cb27b655600a1cfa1d upstream.

This corrects a problem in spi_pump_messages() that leads to an spi
message hanging forever when a call to transfer_one_message() fails.
This failure occurs in my MCP2210 driver when the cs_change bit is set
on the last transfer in a message, an operation which the hardware does
not support.

Rationale
Since the transfer_one_message() returns an int, we must presume that it
may fail.  If transfer_one_message() should never fail, it should return
void.  Thus, calls to transfer_one_message() should properly manage a
failure.

Fixes: ffbbdd21329f3 (spi: create a message queueing infrastructure)
Signed-off-by: Daniel Santos &lt;daniel.santos@pobox.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>spi/bcm63xx: don't substract prepend length from total length</title>
<updated>2014-02-13T21:55:32Z</updated>
<author>
<name>Jonas Gorski</name>
<email>jogo@openwrt.org</email>
</author>
<published>2013-12-17T20:42:07Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=43027805daab02ca9f0fb924d04e41d55552fac7'/>
<id>urn:sha1:43027805daab02ca9f0fb924d04e41d55552fac7</id>
<content type='text'>
commit 86b3bde003e6bf60ccb9c09b4115b8a2f533974c upstream.

The spi command must include the full message length including any
prepended writes, else transfers larger than 256 bytes will be
incomplete.

Signed-off-by: Jonas Gorski &lt;jogo@openwrt.org&gt;
Acked-by: Florian Fainelli &lt;florian@openwrt.org&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>Merge remote-tracking branches 'spi/fix/bcm2835', 'spi/fix/bcm63xx', 'spi/fix/mpc512x-psc', 'spi/fix/mxs', 'spi/fix/pxa2xx', 'spi/fix/qspi', 'spi/fix/rspi' and 'spi/fix/txx9' into spi-linus</title>
<updated>2013-11-28T11:31:35Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@linaro.org</email>
</author>
<published>2013-11-28T11:31:35Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c18158f1fdad0de6be5386291189580484e459cf'/>
<id>urn:sha1:c18158f1fdad0de6be5386291189580484e459cf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'spi/fix/core' into spi-linus</title>
<updated>2013-11-28T11:31:35Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@linaro.org</email>
</author>
<published>2013-11-28T11:31:35Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=b8aba7611b9a5a1f67f081be84270c67baf4d2c3'/>
<id>urn:sha1:b8aba7611b9a5a1f67f081be84270c67baf4d2c3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>spi/pxa2xx: Restore private register bits.</title>
<updated>2013-11-28T11:23:37Z</updated>
<author>
<name>Chew, Chiau Ee</name>
<email>chiau.ee.chew@intel.com</email>
</author>
<published>2013-11-28T18:13:11Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c50325f7bcb8a3ceaacb9dbc41180b1cbbae7b5e'/>
<id>urn:sha1:c50325f7bcb8a3ceaacb9dbc41180b1cbbae7b5e</id>
<content type='text'>
The Intel LPSS SPI private register bits have to be restored
when system resume from S3 suspend.

Signed-off-by: Chew, Chiau Ee &lt;chiau.ee.chew@intel.com&gt;
Acked-by: Mika Westerberg &lt;mika.westerberg@linux.intel.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
<entry>
<title>spi/qspi: Fix qspi remove path.</title>
<updated>2013-11-24T14:15:11Z</updated>
<author>
<name>Sourav Poddar</name>
<email>sourav.poddar@ti.com</email>
</author>
<published>2013-11-19T13:07:16Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=cbcabb7a300bf5ab868c632048889a933e7cdae5'/>
<id>urn:sha1:cbcabb7a300bf5ab868c632048889a933e7cdae5</id>
<content type='text'>
There is a bug in qspi removal path, as a result of which
qspi cannot be removed when used as a module. The patch
solves the bug and qspi can be removed cleanly.

The bugs fixed are:
-pm_runtime used around register access.
- pm_runtime_disable need to be done before removal.
- spi_unregister_master need to be called to unregister
   the spi device.
Tested on DRA7 board.

Signed-off-by: Sourav Poddar &lt;sourav.poddar@ti.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
<entry>
<title>spi/qspi: cleanup pm_runtime error check.</title>
<updated>2013-11-24T14:15:10Z</updated>
<author>
<name>Sourav Poddar</name>
<email>sourav.poddar@ti.com</email>
</author>
<published>2013-11-19T13:07:15Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=05b96675dbfc97fbb66d58cacbf2c8def020375e'/>
<id>urn:sha1:05b96675dbfc97fbb66d58cacbf2c8def020375e</id>
<content type='text'>
clean up pm_runtime error check in accordance with rest of the check in
the driver.

Signed-off-by: Sourav Poddar &lt;sourav.poddar@ti.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
<entry>
<title>spi/qspi: set correct platform drvdata in ti_qspi_probe()</title>
<updated>2013-11-24T14:15:10Z</updated>
<author>
<name>Wei Yongjun</name>
<email>yongjun_wei@trendmicro.com.cn</email>
</author>
<published>2013-11-11T06:13:41Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=160a061301c7adf54c40696e7ceedc73f6b747dd'/>
<id>urn:sha1:160a061301c7adf54c40696e7ceedc73f6b747dd</id>
<content type='text'>
The ti_qspi_remove() use the platform drvdata as a type of
struct ti_qspi, we should pass correct platform drvdata to
platform_set_drvdata() in ti_qspi_probe().

Signed-off-by: Wei Yongjun &lt;yongjun_wei@trendmicro.com.cn&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
<entry>
<title>spi/pxa2xx: add new ACPI IDs</title>
<updated>2013-11-24T14:10:45Z</updated>
<author>
<name>Mika Westerberg</name>
<email>mika.westerberg@linux.intel.com</email>
</author>
<published>2013-11-12T10:06:21Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=54acbd9688e6324470671525c7916011f1ff8081'/>
<id>urn:sha1:54acbd9688e6324470671525c7916011f1ff8081</id>
<content type='text'>
Newer Intel PCHs with LPSS have the same SPI controllers than Haswell but
ACPI IDs are different. Add these IDs to the driver list.

Signed-off-by: Mika Westerberg &lt;mika.westerberg@linux.intel.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
Cc: stable@vger.kernel.org
</content>
</entry>
</feed>
