<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/can/flexcan.c, branch linux-3.15.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.15.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.15.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-03-17T08:20:16Z</updated>
<entry>
<title>can: Unify MTU settings for CAN interfaces</title>
<updated>2014-03-17T08:20:16Z</updated>
<author>
<name>Oliver Hartkopp</name>
</author>
<published>2014-03-07T08:23:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c971fa2ae42e73e9ccc2f5e93f268c8742da4c5d'/>
<id>urn:sha1:c971fa2ae42e73e9ccc2f5e93f268c8742da4c5d</id>
<content type='text'>
CAN interfaces only support MTU values of 16 (CAN 2.0) and 72 (CAN FD).
Setting the MTU to other values is pointless but it does not really hurt.
With the introduction of the CAN FD support in drivers/net/can a new
function to switch the MTU for CAN FD has been introduced.

This patch makes use of this can_change_mtu() function to check for correct
MTU settings also in legacy CAN (2.0) devices.

Signed-off-by: Oliver Hartkopp &lt;socketcan@hartkopp.net&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: flexcan: make use of platform_get_device_id()</title>
<updated>2014-03-06T21:20:44Z</updated>
<author>
<name>Marc Kleine-Budde</name>
</author>
<published>2014-03-04T21:04:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d0873e6fc06686cf2dfb9adabb6ca65e9967c60f'/>
<id>urn:sha1:d0873e6fc06686cf2dfb9adabb6ca65e9967c60f</id>
<content type='text'>
This patch replaces an open coded pdev-&gt;id_entry by platform_get_device_id().

Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: flexcan: Remove #ifdef CONFIG_PM_SLEEP</title>
<updated>2014-03-06T21:20:43Z</updated>
<author>
<name>Marc Kleine-Budde</name>
</author>
<published>2014-03-05T18:10:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=08c6d35154069becb01243176fb72b3bc60ff3cb'/>
<id>urn:sha1:08c6d35154069becb01243176fb72b3bc60ff3cb</id>
<content type='text'>
This patch removes #ifdef CONFIG_PM_SLEEP to improve compile coverage.

Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: flexcan: factor out soft reset into seperate funtion</title>
<updated>2014-03-03T13:29:51Z</updated>
<author>
<name>Marc Kleine-Budde</name>
</author>
<published>2014-02-28T14:16:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4b5b82274a17f0ebbf02378df2ba7f36a3f5af19'/>
<id>urn:sha1:4b5b82274a17f0ebbf02378df2ba7f36a3f5af19</id>
<content type='text'>
This patch moves the soft reset into a seperate function.

Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: flexcan: flexcan_remove(): add missing netif_napi_del()</title>
<updated>2014-03-03T13:29:51Z</updated>
<author>
<name>Marc Kleine-Budde</name>
</author>
<published>2014-02-28T19:48:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d96e43e8fce28cf97df576a07af9d65657a41a6f'/>
<id>urn:sha1:d96e43e8fce28cf97df576a07af9d65657a41a6f</id>
<content type='text'>
This patch adds the missing netif_napi_del() to the flexcan_remove() function.

Cc: linux-stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: flexcan: fix transition from and to freeze mode in chip_{,un}freeze</title>
<updated>2014-03-03T11:41:46Z</updated>
<author>
<name>Marc Kleine-Budde</name>
</author>
<published>2014-02-28T16:08:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b1aa1c7a2165b44ecce66286a3095cc6c7667d1c'/>
<id>urn:sha1:b1aa1c7a2165b44ecce66286a3095cc6c7667d1c</id>
<content type='text'>
This patch factors out freeze and unfreeze of the CAN core into seperate
functions. Experiments have shown that the transition from and to freeze mode
may take several microseconds, especially the time entering the freeze mode
depends on the current bitrate.

This patch adds a while loop which polls the Freeze Mode ACK bit (FRZ_ACK) that
indicates a successfull mode change. If the function runs into a timeout a
error value is returned.

Cc: linux-stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: flexcan: factor out transceiver {en,dis}able into seperate functions</title>
<updated>2014-03-03T11:41:39Z</updated>
<author>
<name>Marc Kleine-Budde</name>
</author>
<published>2014-02-28T16:18:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f003698e23f6f56a791774f14d0ac35d04872490'/>
<id>urn:sha1:f003698e23f6f56a791774f14d0ac35d04872490</id>
<content type='text'>
This patch moves the transceiver enable and disable into seperate functions,
where the NULL pointer check is hidden.

Cc: linux-stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: flexcan: fix transition from and to low power mode in chip_{en,dis}able</title>
<updated>2014-03-03T11:41:27Z</updated>
<author>
<name>Marc Kleine-Budde</name>
</author>
<published>2014-02-28T14:30:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9b00b300e7bce032c467c36ca47fe2a776887fc2'/>
<id>urn:sha1:9b00b300e7bce032c467c36ca47fe2a776887fc2</id>
<content type='text'>
In flexcan_chip_enable() and flexcan_chip_disable() fixed delays are used.
Experiments have shown that the transition from and to low power mode may take
several microseconds.

This patch adds a while loop which polls the Low Power Mode ACK bit (LPM_ACK)
that indicates a successfull mode change. If the function runs into a timeout a
error value is returned.

Cc: linux-stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: flexcan: flexcan_open(): fix error path if flexcan_chip_start() fails</title>
<updated>2014-03-03T11:41:22Z</updated>
<author>
<name>Marc Kleine-Budde</name>
</author>
<published>2014-02-28T13:52:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7e9e148af01ef388efb6e2490805970be4622792'/>
<id>urn:sha1:7e9e148af01ef388efb6e2490805970be4622792</id>
<content type='text'>
If flexcan_chip_start() in flexcan_open() fails, the interrupt is not freed,
this patch adds the missing cleanup.

Cc: linux-stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: flexcan: fix shutdown: first disable chip, then all interrupts</title>
<updated>2014-03-03T11:40:52Z</updated>
<author>
<name>Marc Kleine-Budde</name>
</author>
<published>2014-02-19T11:00:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5be93bdda64e85450598c6e97f79fb8f6acf30e0'/>
<id>urn:sha1:5be93bdda64e85450598c6e97f79fb8f6acf30e0</id>
<content type='text'>
When shutting down the CAN interface (ifconfig canX down) during high CAN bus
loads, the CAN core might hang and freeze the whole CPU.

This patch fixes the shutdown sequence by first disabling the CAN core then
disabling all interrupts.

Cc: linux-stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
</feed>
