<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/spi, branch v3.14.4</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>spi: dw: Don't call kfree for memory allocated by devm_kzalloc</title>
<updated>2014-05-06T14:59:24+00:00</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@ingics.com</email>
</author>
<published>2014-03-25T04:44:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f2fa919e04df73c81f0943ed4e50ef4c77d495c6'/>
<id>f2fa919e04df73c81f0943ed4e50ef4c77d495c6</id>
<content type='text'>
commit c63f5da00845143de621e991ea186be0829647ee upstream.

With devm_kzalloc, the memory is automatically freed when spi_device detach from
the bus.

Fixes: commit 43f627ac9de42 (spi: dw: fix memory leak on error path)
Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Acked-by: Baruch Siach &lt;baruch@tkos.co.il&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit c63f5da00845143de621e991ea186be0829647ee upstream.

With devm_kzalloc, the memory is automatically freed when spi_device detach from
the bus.

Fixes: commit 43f627ac9de42 (spi: dw: fix memory leak on error path)
Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Acked-by: Baruch Siach &lt;baruch@tkos.co.il&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>spi: efm32: use $vendor,$device scheme for compatible string</title>
<updated>2014-05-06T14:59:24+00:00</updated>
<author>
<name>Uwe Kleine-König</name>
<email>u.kleine-koenig@pengutronix.de</email>
</author>
<published>2014-03-25T14:51:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=1e3fe0a434d0a08c4170b02c22c5c2251a2d2318'/>
<id>1e3fe0a434d0a08c4170b02c22c5c2251a2d2318</id>
<content type='text'>
commit 12f6dd860cf8bf036c0bec38c00a53da71bcd43a upstream.

Wolfram Sang pointed out that "efm32,$device" is non-standard. So use the
common scheme and prefix device with "efm32-". The old compatible string
is left in place until arch/arm/boot/dts/efm32* is fixed.

Signed-off-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
Acked-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 12f6dd860cf8bf036c0bec38c00a53da71bcd43a upstream.

Wolfram Sang pointed out that "efm32,$device" is non-standard. So use the
common scheme and prefix device with "efm32-". The old compatible string
is left in place until arch/arm/boot/dts/efm32* is fixed.

Signed-off-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
Acked-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branches 'spi/fix/ath79', 'spi/fix/atmel', 'spi/fix/coldfire', 'spi/fix/fsl-dspi', 'spi/fix/imx' and 'spi/fix/topcliff-pch' into spi-linus</title>
<updated>2014-03-07T03:08:13+00:00</updated>
<author>
<name>Mark Brown</name>
<email>broonie@linaro.org</email>
</author>
<published>2014-03-07T03:08:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d930acfdb021f9d61e156c4f53d42043305f5bf6'/>
<id>d930acfdb021f9d61e156c4f53d42043305f5bf6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>spi: atmel: add missing spi_master_{resume,suspend} calls to PM callbacks</title>
<updated>2014-03-05T03:59:53+00:00</updated>
<author>
<name>Wenyou Yang</name>
<email>wenyou.yang@atmel.com</email>
</author>
<published>2014-03-05T03:29:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ba938f3a295686aa9ab5077b10d1049f8091cbd7'/>
<id>ba938f3a295686aa9ab5077b10d1049f8091cbd7</id>
<content type='text'>
The PM callbacks implemented by the spi-atmel driver don't call
spi_master_{resume,suspend}, fix that.

Signed-off-by: Wenyou Yang &lt;wenyou.yang@atmel.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The PM callbacks implemented by the spi-atmel driver don't call
spi_master_{resume,suspend}, fix that.

Signed-off-by: Wenyou Yang &lt;wenyou.yang@atmel.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>spi: coldfire-qspi: Fix getting correct address for *mcfqspi</title>
<updated>2014-03-05T03:53:08+00:00</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@ingics.com</email>
</author>
<published>2014-02-14T01:53:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ee73b4c6e3fc0755a91752ab8eebc8e070038b53'/>
<id>ee73b4c6e3fc0755a91752ab8eebc8e070038b53</id>
<content type='text'>
dev_get_drvdata() returns the address of master rather than mcfqspi.

Fixes: af361079 (spi/coldfire-qspi: Drop extra calls to spi_master_get in suspend/resume functions)
Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
Cc: stable@vger.kernel.org
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
dev_get_drvdata() returns the address of master rather than mcfqspi.

Fixes: af361079 (spi/coldfire-qspi: Drop extra calls to spi_master_get in suspend/resume functions)
Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
Cc: stable@vger.kernel.org
</pre>
</div>
</content>
</entry>
<entry>
<title>spi: fsl-dspi: Fix getting correct address for master</title>
<updated>2014-03-05T03:51:02+00:00</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@ingics.com</email>
</author>
<published>2014-02-14T04:49:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=017145fef567430789e40f6a22a90ce2a766370b'/>
<id>017145fef567430789e40f6a22a90ce2a766370b</id>
<content type='text'>
Current code set platform drvdata to dspi. However, the code in dspi_suspend()
and dspi_resume() assumes the drvdata is the address of master.
Fix it by setting platform drvdata to master.

Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
Cc: stable@vger.kernel.org
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Current code set platform drvdata to dspi. However, the code in dspi_suspend()
and dspi_resume() assumes the drvdata is the address of master.
Fix it by setting platform drvdata to master.

Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
Cc: stable@vger.kernel.org
</pre>
</div>
</content>
</entry>
<entry>
<title>spi: spi-ath79: fix initial GPIO CS line setup</title>
<updated>2014-03-03T04:38:52+00:00</updated>
<author>
<name>Gabor Juhos</name>
<email>juhosg@openwrt.org</email>
</author>
<published>2014-03-02T19:54:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=61d1cf163c8653934cc8cd5d0b2a562d0990c265'/>
<id>61d1cf163c8653934cc8cd5d0b2a562d0990c265</id>
<content type='text'>
The 'ath79_spi_setup_cs' function initializes the chip
select line of a given SPI device in order to make sure
that the device is inactive.

If the SPI_CS_HIGH bit is set for a given device, it
means that the CS line of that device is active HIGH
so it must be set to LOW initially. In case of GPIO
CS lines, the 'ath79_spi_setup_cs' function does the
opposite of that due to the wrong GPIO flags.

Fix the code to use the correct GPIO flags.

Reported-by: Ronald Wahl &lt;ronald.wahl@raritan.com&gt;
Signed-off-by: Gabor Juhos &lt;juhosg@openwrt.org&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
Cc: stable@vger.kernel.org
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The 'ath79_spi_setup_cs' function initializes the chip
select line of a given SPI device in order to make sure
that the device is inactive.

If the SPI_CS_HIGH bit is set for a given device, it
means that the CS line of that device is active HIGH
so it must be set to LOW initially. In case of GPIO
CS lines, the 'ath79_spi_setup_cs' function does the
opposite of that due to the wrong GPIO flags.

Fix the code to use the correct GPIO flags.

Reported-by: Ronald Wahl &lt;ronald.wahl@raritan.com&gt;
Signed-off-by: Gabor Juhos &lt;juhosg@openwrt.org&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
Cc: stable@vger.kernel.org
</pre>
</div>
</content>
</entry>
<entry>
<title>spi: spi-imx: spi_imx_remove: do not disable disabled clocks</title>
<updated>2014-02-28T06:14:54+00:00</updated>
<author>
<name>Philippe De Muyter</name>
<email>phdm@macqel.be</email>
</author>
<published>2014-02-27T09:16:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=fd40dccb1a170ba689664481a3de83617b7194d2'/>
<id>fd40dccb1a170ba689664481a3de83617b7194d2</id>
<content type='text'>
Currently, at module removal, one gets the following warnings:
------------[ cut here ]------------
WARNING: at drivers/clk/clk.c:780 clk_disable+0x18/0x24()
Modules linked in: spi_imx(-) [last unloaded: ev76c560]
CPU: 1 PID: 16337 Comm: rmmod Tainted: G        W    3.10.17-80548-g90191eb-dirty #33
[&lt;80013b4c&gt;] (unwind_backtrace+0x0/0xf8) from [&lt;800115dc&gt;] (show_stack+0x10/0x14)
[&lt;800115dc&gt;] (show_stack+0x10/0x14) from [&lt;800257b8&gt;] (warn_slowpath_common+0x4c/0x68)
[&lt;800257b8&gt;] (warn_slowpath_common+0x4c/0x68) from [&lt;800257f0&gt;] (warn_slowpath_null+0x1c/0x24)
[&lt;800257f0&gt;] (warn_slowpath_null+0x1c/0x24) from [&lt;803f60ec&gt;] (clk_disable+0x18/0x24)
[&lt;803f60ec&gt;] (clk_disable+0x18/0x24) from [&lt;7f02c9cc&gt;] (spi_imx_remove+0x54/0x9c [spi_imx])
[&lt;7f02c9cc&gt;] (spi_imx_remove+0x54/0x9c [spi_imx]) from [&lt;8025868c&gt;] (platform_drv_remove+0x18/0x1c)
[&lt;8025868c&gt;] (platform_drv_remove+0x18/0x1c) from [&lt;80256f60&gt;] (__device_release_driver+0x70/0xcc)
[&lt;80256f60&gt;] (__device_release_driver+0x70/0xcc) from [&lt;80257770&gt;] (driver_detach+0xcc/0xd0)
[&lt;80257770&gt;] (driver_detach+0xcc/0xd0) from [&lt;80256d90&gt;] (bus_remove_driver+0x7c/0xc0)
[&lt;80256d90&gt;] (bus_remove_driver+0x7c/0xc0) from [&lt;80068668&gt;] (SyS_delete_module+0x144/0x1f8)
[&lt;80068668&gt;] (SyS_delete_module+0x144/0x1f8) from [&lt;8000e080&gt;] (ret_fast_syscall+0x0/0x30)
---[ end trace 1f5df9ad54996300 ]---
------------[ cut here ]------------
WARNING: at drivers/clk/clk.c:780 clk_disable+0x18/0x24()
Modules linked in: spi_imx(-) [last unloaded: ev76c560]
CPU: 1 PID: 16337 Comm: rmmod Tainted: G        W    3.10.17-80548-g90191eb-dirty #33
[&lt;80013b4c&gt;] (unwind_backtrace+0x0/0xf8) from [&lt;800115dc&gt;] (show_stack+0x10/0x14)
[&lt;800115dc&gt;] (show_stack+0x10/0x14) from [&lt;800257b8&gt;] (warn_slowpath_common+0x4c/0x68)
[&lt;800257b8&gt;] (warn_slowpath_common+0x4c/0x68) from [&lt;800257f0&gt;] (warn_slowpath_null+0x1c/0x24)
[&lt;800257f0&gt;] (warn_slowpath_null+0x1c/0x24) from [&lt;803f60ec&gt;] (clk_disable+0x18/0x24)
[&lt;803f60ec&gt;] (clk_disable+0x18/0x24) from [&lt;7f02c9e8&gt;] (spi_imx_remove+0x70/0x9c [spi_imx])
[&lt;7f02c9e8&gt;] (spi_imx_remove+0x70/0x9c [spi_imx]) from [&lt;8025868c&gt;] (platform_drv_remove+0x18/0x1c)
[&lt;8025868c&gt;] (platform_drv_remove+0x18/0x1c) from [&lt;80256f60&gt;] (__device_release_driver+0x70/0xcc)
[&lt;80256f60&gt;] (__device_release_driver+0x70/0xcc) from [&lt;80257770&gt;] (driver_detach+0xcc/0xd0)
[&lt;80257770&gt;] (driver_detach+0xcc/0xd0) from [&lt;80256d90&gt;] (bus_remove_driver+0x7c/0xc0)
[&lt;80256d90&gt;] (bus_remove_driver+0x7c/0xc0) from [&lt;80068668&gt;] (SyS_delete_module+0x144/0x1f8)
[&lt;80068668&gt;] (SyS_delete_module+0x144/0x1f8) from [&lt;8000e080&gt;] (ret_fast_syscall+0x0/0x30)
---[ end trace 1f5df9ad54996301 ]---

Since commit 9e556dcc55774c9a1032f32baa0e5cfafede8b70, "spi: spi-imx: only
enable the clocks when we start to transfer a message", clocks are always
disabled except when transmitting messages.  There is thus no need to
disable them at module removal.

Fixes: 9e556dcc55774 (spi: spi-imx: only enable the clocks when we start to transfer a message)
Signed-off-by: Philippe De Muyter &lt;phdm@macqel.be&gt;
Acked-by: Huang Shijie &lt;b32955@freescale.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
Cc: stable@vger.kernel.org
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, at module removal, one gets the following warnings:
------------[ cut here ]------------
WARNING: at drivers/clk/clk.c:780 clk_disable+0x18/0x24()
Modules linked in: spi_imx(-) [last unloaded: ev76c560]
CPU: 1 PID: 16337 Comm: rmmod Tainted: G        W    3.10.17-80548-g90191eb-dirty #33
[&lt;80013b4c&gt;] (unwind_backtrace+0x0/0xf8) from [&lt;800115dc&gt;] (show_stack+0x10/0x14)
[&lt;800115dc&gt;] (show_stack+0x10/0x14) from [&lt;800257b8&gt;] (warn_slowpath_common+0x4c/0x68)
[&lt;800257b8&gt;] (warn_slowpath_common+0x4c/0x68) from [&lt;800257f0&gt;] (warn_slowpath_null+0x1c/0x24)
[&lt;800257f0&gt;] (warn_slowpath_null+0x1c/0x24) from [&lt;803f60ec&gt;] (clk_disable+0x18/0x24)
[&lt;803f60ec&gt;] (clk_disable+0x18/0x24) from [&lt;7f02c9cc&gt;] (spi_imx_remove+0x54/0x9c [spi_imx])
[&lt;7f02c9cc&gt;] (spi_imx_remove+0x54/0x9c [spi_imx]) from [&lt;8025868c&gt;] (platform_drv_remove+0x18/0x1c)
[&lt;8025868c&gt;] (platform_drv_remove+0x18/0x1c) from [&lt;80256f60&gt;] (__device_release_driver+0x70/0xcc)
[&lt;80256f60&gt;] (__device_release_driver+0x70/0xcc) from [&lt;80257770&gt;] (driver_detach+0xcc/0xd0)
[&lt;80257770&gt;] (driver_detach+0xcc/0xd0) from [&lt;80256d90&gt;] (bus_remove_driver+0x7c/0xc0)
[&lt;80256d90&gt;] (bus_remove_driver+0x7c/0xc0) from [&lt;80068668&gt;] (SyS_delete_module+0x144/0x1f8)
[&lt;80068668&gt;] (SyS_delete_module+0x144/0x1f8) from [&lt;8000e080&gt;] (ret_fast_syscall+0x0/0x30)
---[ end trace 1f5df9ad54996300 ]---
------------[ cut here ]------------
WARNING: at drivers/clk/clk.c:780 clk_disable+0x18/0x24()
Modules linked in: spi_imx(-) [last unloaded: ev76c560]
CPU: 1 PID: 16337 Comm: rmmod Tainted: G        W    3.10.17-80548-g90191eb-dirty #33
[&lt;80013b4c&gt;] (unwind_backtrace+0x0/0xf8) from [&lt;800115dc&gt;] (show_stack+0x10/0x14)
[&lt;800115dc&gt;] (show_stack+0x10/0x14) from [&lt;800257b8&gt;] (warn_slowpath_common+0x4c/0x68)
[&lt;800257b8&gt;] (warn_slowpath_common+0x4c/0x68) from [&lt;800257f0&gt;] (warn_slowpath_null+0x1c/0x24)
[&lt;800257f0&gt;] (warn_slowpath_null+0x1c/0x24) from [&lt;803f60ec&gt;] (clk_disable+0x18/0x24)
[&lt;803f60ec&gt;] (clk_disable+0x18/0x24) from [&lt;7f02c9e8&gt;] (spi_imx_remove+0x70/0x9c [spi_imx])
[&lt;7f02c9e8&gt;] (spi_imx_remove+0x70/0x9c [spi_imx]) from [&lt;8025868c&gt;] (platform_drv_remove+0x18/0x1c)
[&lt;8025868c&gt;] (platform_drv_remove+0x18/0x1c) from [&lt;80256f60&gt;] (__device_release_driver+0x70/0xcc)
[&lt;80256f60&gt;] (__device_release_driver+0x70/0xcc) from [&lt;80257770&gt;] (driver_detach+0xcc/0xd0)
[&lt;80257770&gt;] (driver_detach+0xcc/0xd0) from [&lt;80256d90&gt;] (bus_remove_driver+0x7c/0xc0)
[&lt;80256d90&gt;] (bus_remove_driver+0x7c/0xc0) from [&lt;80068668&gt;] (SyS_delete_module+0x144/0x1f8)
[&lt;80068668&gt;] (SyS_delete_module+0x144/0x1f8) from [&lt;8000e080&gt;] (ret_fast_syscall+0x0/0x30)
---[ end trace 1f5df9ad54996301 ]---

Since commit 9e556dcc55774c9a1032f32baa0e5cfafede8b70, "spi: spi-imx: only
enable the clocks when we start to transfer a message", clocks are always
disabled except when transmitting messages.  There is thus no need to
disable them at module removal.

Fixes: 9e556dcc55774 (spi: spi-imx: only enable the clocks when we start to transfer a message)
Signed-off-by: Philippe De Muyter &lt;phdm@macqel.be&gt;
Acked-by: Huang Shijie &lt;b32955@freescale.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
Cc: stable@vger.kernel.org
</pre>
</div>
</content>
</entry>
<entry>
<title>spi-topcliff-pch: Fix probing when DMA mode is used</title>
<updated>2014-02-27T04:37:10+00:00</updated>
<author>
<name>Alexander Stein</name>
<email>alexander.stein@systec-electronic.com</email>
</author>
<published>2014-02-26T15:31:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=7995d74ab297e4f5526c8df70007e1e39f0d1f5c'/>
<id>7995d74ab297e4f5526c8df70007e1e39f0d1f5c</id>
<content type='text'>
If during registering SPI master due to SPI device probing a SPI transfer
is issued the DMA buffers are not allocated yet.

This fixes the following oops:
pch_spi 0000:02:0c.1: enabling device (0000 -&gt; 0002)
pch_spi 0000:02:0c.1: master is unqueued, this is deprecated
BUG: unable to handle kernel NULL pointer dereference at   (null)
IP: [&lt;c125aa05&gt;] pch_spi_handle_dma+0x15c/0x6f4
[...]

Signed-off-by: Alexander Stein &lt;alexander.stein@systec-electronic.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If during registering SPI master due to SPI device probing a SPI transfer
is issued the DMA buffers are not allocated yet.

This fixes the following oops:
pch_spi 0000:02:0c.1: enabling device (0000 -&gt; 0002)
pch_spi 0000:02:0c.1: master is unqueued, this is deprecated
BUG: unable to handle kernel NULL pointer dereference at   (null)
IP: [&lt;c125aa05&gt;] pch_spi_handle_dma+0x15c/0x6f4
[...]

Signed-off-by: Alexander Stein &lt;alexander.stein@systec-electronic.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>spi/topcliff-pch: Fix DMA channel</title>
<updated>2014-02-19T12:43:56+00:00</updated>
<author>
<name>Alexander Stein</name>
<email>alexander.stein@systec-electronic.com</email>
</author>
<published>2014-02-19T09:36:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=7611c7a5613f20ec2fb536c1d868d15045730bc0'/>
<id>7611c7a5613f20ec2fb536c1d868d15045730bc0</id>
<content type='text'>
bus_num might be asigned dynamically to e.g. 32766. In this case the
calculated DMA channel based on SPI bus number is bogus. Use SPI channel
number instead for calculation.

Signed-off-by: Alexander Stein &lt;alexander.stein@systec-electronic.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bus_num might be asigned dynamically to e.g. 32766. In this case the
calculated DMA channel based on SPI bus number is bogus. Use SPI channel
number instead for calculation.

Signed-off-by: Alexander Stein &lt;alexander.stein@systec-electronic.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
