<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/can/usb, branch linux-4.13.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-11-02T08:54:49Z</updated>
<entry>
<title>can: kvaser_usb: Ignore CMD_FLUSH_QUEUE_REPLY messages</title>
<updated>2017-11-02T08:54:49Z</updated>
<author>
<name>Jimmy Assarsson</name>
</author>
<published>2017-10-24T10:23:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8ec0e2194f426897cc56b1338ed305c15b5c6806'/>
<id>urn:sha1:8ec0e2194f426897cc56b1338ed305c15b5c6806</id>
<content type='text'>
commit e1d2d1329a5722dbecc9c278303fcc4aa01f8790 upstream.

To avoid kernel warning "Unhandled message (68)", ignore the
CMD_FLUSH_QUEUE_REPLY message for now.

As of Leaf v2 firmware version v4.1.844 (2017-02-15), flush tx queue is
synchronous. There is a capability bit indicating whether flushing tx
queue is synchronous or asynchronous.

A proper solution would be to query the device for capabilities. If the
synchronous tx flush capability bit is set, we should wait for
CMD_FLUSH_QUEUE_REPLY message, while flushing the tx queue.

Signed-off-by: Jimmy Assarsson &lt;jimmyassarsson@gmail.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>can: kvaser_usb: Correct return value in printout</title>
<updated>2017-11-02T08:54:49Z</updated>
<author>
<name>Jimmy Assarsson</name>
</author>
<published>2017-10-24T10:23:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1221c0d8ad2eda8e597f32776b748e0fa8b4d01d'/>
<id>urn:sha1:1221c0d8ad2eda8e597f32776b748e0fa8b4d01d</id>
<content type='text'>
commit 8f65a923e6b628e187d5e791cf49393dd5e8c2f9 upstream.

If the return value from kvaser_usb_send_simple_msg() was non-zero, the
return value from kvaser_usb_flush_queue() was printed in the kernel
warning.

Signed-off-by: Jimmy Assarsson &lt;jimmyassarsson@gmail.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>can: esd_usb2: Fix can_dlc value for received RTR, frames</title>
<updated>2017-10-27T08:39:11Z</updated>
<author>
<name>Stefan Mätje</name>
</author>
<published>2017-10-18T11:25:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5463bc9a46f2484012ab147c6483aa3973f47665'/>
<id>urn:sha1:5463bc9a46f2484012ab147c6483aa3973f47665</id>
<content type='text'>
commit 72d92e865d1560723e1957ee3f393688c49ca5bf upstream.

The dlc member of the struct rx_msg contains also the ESD_RTR flag to
mark received RTR frames. Without the fix the can_dlc value for received
RTR frames would always be set to 8 by get_can_dlc() instead of the
received value.

Fixes: 96d8e90382dc ("can: Add driver for esd CAN-USB/2 device")
Signed-off-by: Stefan Mätje &lt;stefan.maetje@esd.eu&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>can: gs_usb: fix busy loop if no more TX context is available</title>
<updated>2017-10-27T08:39:09Z</updated>
<author>
<name>Wolfgang Grandegger</name>
</author>
<published>2017-09-14T16:37:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6d9e8b2dfbe5008647c9c416159d37b26067fc26'/>
<id>urn:sha1:6d9e8b2dfbe5008647c9c416159d37b26067fc26</id>
<content type='text'>
commit 97819f943063b622eca44d3644067c190dc75039 upstream.

If sending messages with no cable connected, it quickly happens that
there is no more TX context available. Then "gs_can_start_xmit()"
returns with "NETDEV_TX_BUSY" and the upper layer does retry
immediately keeping the CPU busy. To fix that issue, I moved
"atomic_dec(&amp;dev-&gt;active_tx_urbs)" from "gs_usb_xmit_callback()" to
the TX done handling in "gs_usb_receive_bulk_callback()". Renaming
"active_tx_urbs" to "active_tx_contexts" and moving it into
"gs_[alloc|free]_tx_context()" would also make sense.

Signed-off-by: Wolfgang Grandegger &lt;wg@grandegger.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>can: gs_usb: fix memory leak in gs_cmd_reset()</title>
<updated>2017-06-09T09:39:23Z</updated>
<author>
<name>Marc Kleine-Budde</name>
</author>
<published>2017-06-04T12:03:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5cda3ee5138e91ac369ed9d0b55eab0dab077686'/>
<id>urn:sha1:5cda3ee5138e91ac369ed9d0b55eab0dab077686</id>
<content type='text'>
This patch adds the missing kfree() in gs_cmd_reset() to free the
memory that is not used anymore after usb_control_msg().

Cc: linux-stable &lt;stable@vger.kernel.org&gt;
Cc: Maximilian Schneider &lt;max@schneidersoft.net&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: peak_usb: fix product-id endianness in error message</title>
<updated>2017-06-09T09:39:23Z</updated>
<author>
<name>Johan Hovold</name>
</author>
<published>2017-05-12T10:09:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dadcd398b3f059a0aa9de1cac8030a1d5a3791a5'/>
<id>urn:sha1:dadcd398b3f059a0aa9de1cac8030a1d5a3791a5</id>
<content type='text'>
Make sure to use the USB device product-id stored in host-byte order in
a probe error message.

Also remove a redundant reassignment of the local usb_dev variable which
had already been used to retrieve the product id.

Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net</title>
<updated>2017-04-27T02:39:08Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2017-04-27T02:39:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b1513c35317c106a1588f3ab32f6888f0e2afd71'/>
<id>urn:sha1:b1513c35317c106a1588f3ab32f6888f0e2afd71</id>
<content type='text'>
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: can: usb: gs_usb: Fix buffer on stack</title>
<updated>2017-04-25T12:08:35Z</updated>
<author>
<name>Maksim Salau</name>
</author>
<published>2017-04-23T17:31:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b05c73bd1e3ec60357580eb042ee932a5ed754d5'/>
<id>urn:sha1:b05c73bd1e3ec60357580eb042ee932a5ed754d5</id>
<content type='text'>
Allocate buffers on HEAP instead of STACK for local structures
that are to be sent using usb_control_msg().

Signed-off-by: Maksim Salau &lt;maksim.salau@gmail.com&gt;
Cc: linux-stable &lt;stable@vger.kernel.org&gt; # &gt;= v4.8
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: usb: Kconfig: Add PCAN-USB X6 device in help text</title>
<updated>2017-04-25T08:50:11Z</updated>
<author>
<name>Stephane Grosjean</name>
</author>
<published>2017-03-27T12:36:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=71b611562f45e8798d519a38d0143d5eafd6eb35'/>
<id>urn:sha1:71b611562f45e8798d519a38d0143d5eafd6eb35</id>
<content type='text'>
This patch adds a text line in the help section of the CAN_PEAK_USB
config item describing the support of the PCAN-USB X6 adapter, which is
already included in the Kernel since 4.9.

Signed-off-by: Stephane Grosjean &lt;s.grosjean@peak-system.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: usb: Add support of PCAN-Chip USB stamp module</title>
<updated>2017-04-25T08:50:11Z</updated>
<author>
<name>Stephane Grosjean</name>
</author>
<published>2017-03-27T12:36:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ea8b65b596d78969629562f9728f76cbf565fbec'/>
<id>urn:sha1:ea8b65b596d78969629562f9728f76cbf565fbec</id>
<content type='text'>
This patch adds the support of the PCAN-Chip USB, a stamp module for
customer hardware designs, which communicates via USB 2.0 with the
hardware. The integrated CAN controller supports the protocols CAN 2.0 A/B
as well as CAN FD. The physical CAN connection is determined by external
wiring. The Stamp module with its single-sided mounting and plated
half-holes is suitable for automatic assembly.

Note that the chip is equipped with the same logic than the PCAN-USB FD.

Signed-off-by: Stephane Grosjean &lt;s.grosjean@peak-system.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
</feed>
