<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/staging/most/usb, branch master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/staging/most/usb?h=master</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/staging/most/usb?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2020-07-31T12:38:12Z</updated>
<entry>
<title>drivers: most: add USB adapter driver</title>
<updated>2020-07-31T12:38:12Z</updated>
<author>
<name>Christian Gromm</name>
<email>christian.gromm@microchip.com</email>
</author>
<published>2020-07-31T12:20:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=97a6f772f36b7f52bcfa56a581bbd2470cffe23d'/>
<id>urn:sha1:97a6f772f36b7f52bcfa56a581bbd2470cffe23d</id>
<content type='text'>
This patch adds the USB driver source file most_usb.c and
modifies the Makefile and Kconfig accordingly.

Signed-off-by: Christian Gromm &lt;christian.gromm@microchip.com&gt;
Link: https://lore.kernel.org/r/1596198058-26541-1-git-send-email-christian.gromm@microchip.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: most: usb: remove NET dependency</title>
<updated>2020-07-29T12:00:25Z</updated>
<author>
<name>Christian Gromm</name>
<email>christian.gromm@microchip.com</email>
</author>
<published>2020-07-28T09:07:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=7f921e92e72a52e6390207d3ebeb8f3b5966ebde'/>
<id>urn:sha1:7f921e92e72a52e6390207d3ebeb8f3b5966ebde</id>
<content type='text'>
This patch removes the dependency to NET as it is no longer needed.

Signed-off-by: Christian Gromm &lt;christian.gromm@microchip.com&gt;
Link: https://lore.kernel.org/r/1595927275-27462-1-git-send-email-christian.gromm@microchip.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: most: usb: init return value in default path of switch/case expression</title>
<updated>2020-05-29T10:35:59Z</updated>
<author>
<name>Christian Gromm</name>
<email>christian.gromm@microchip.com</email>
</author>
<published>2020-05-28T12:41:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=11974ace2d8681ae3efe027b4020869ccee48878'/>
<id>urn:sha1:11974ace2d8681ae3efe027b4020869ccee48878</id>
<content type='text'>
This patch avoids returning an uninitialized value in the default
path of the switch expression.

Signed-off-by: Christian Gromm &lt;christian.gromm@microchip.com&gt;
Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Link: https://lore.kernel.org/r/1590669703-20004-1-git-send-email-christian.gromm@microchip.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: most: usb: use function sysfs_streq</title>
<updated>2020-05-27T10:26:13Z</updated>
<author>
<name>Christian Gromm</name>
<email>christian.gromm@microchip.com</email>
</author>
<published>2020-05-27T09:06:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=549d2db7021933bc88189ca30792f12cf6de2db1'/>
<id>urn:sha1:549d2db7021933bc88189ca30792f12cf6de2db1</id>
<content type='text'>
This patch replaces function strcmp() with sysfs_streq() to compare
strings provided via sysfs.

Signed-off-by: Christian Gromm &lt;christian.gromm@microchip.com&gt;
Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Link: https://lore.kernel.org/r/1590570387-27069-11-git-send-email-christian.gromm@microchip.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: most: usb: add missing put_device calls</title>
<updated>2020-05-27T10:26:13Z</updated>
<author>
<name>Christian Gromm</name>
<email>christian.gromm@microchip.com</email>
</author>
<published>2020-05-27T09:06:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=f1f48239cde4373c5410c065f2a51b3ce15aa3b6'/>
<id>urn:sha1:f1f48239cde4373c5410c065f2a51b3ce15aa3b6</id>
<content type='text'>
This patch adds the missing put_device() function calls to
properly free allocated resources and maintain reference counts.

Signed-off-by: Christian Gromm &lt;christian.gromm@microchip.com&gt;
Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Link: https://lore.kernel.org/r/1590570387-27069-10-git-send-email-christian.gromm@microchip.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: most: usb: use correct error codes</title>
<updated>2020-05-27T10:26:13Z</updated>
<author>
<name>Christian Gromm</name>
<email>christian.gromm@microchip.com</email>
</author>
<published>2020-05-27T09:06:25Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=f470a5b01bab175dc14ac078ffe1130ae975a6fd'/>
<id>urn:sha1:f470a5b01bab175dc14ac078ffe1130ae975a6fd</id>
<content type='text'>
This patch uses the -EINVAL return code where -EFAULT is wrongly being
used.

Signed-off-by: Christian Gromm &lt;christian.gromm@microchip.com&gt;
Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Link: https://lore.kernel.org/r/1590570387-27069-9-git-send-email-christian.gromm@microchip.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: most: usb: replace code to calculate array index</title>
<updated>2020-05-27T10:26:12Z</updated>
<author>
<name>Christian Gromm</name>
<email>christian.gromm@microchip.com</email>
</author>
<published>2020-05-27T09:06:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=1fd4fb8c62d34db0d82bbb948b4cfd006c9256fb'/>
<id>urn:sha1:1fd4fb8c62d34db0d82bbb948b4cfd006c9256fb</id>
<content type='text'>
This patch removes the expression that makes use of a priori knowledge
about channel numbers to calculate an array index.
The expression 'peer = 1 - channel' utilizes the fact that an USB interface
that operates on the asynchronous data of the Network only has two
endpoints. Hence, channel being 0 or 1. The replacement is more simple and
less confusing when reading the code.

Signed-off-by: Christian Gromm &lt;christian.gromm@microchip.com&gt;
Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Link: https://lore.kernel.org/r/1590570387-27069-8-git-send-email-christian.gromm@microchip.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: most: usb: don't use error path to exit function on success</title>
<updated>2020-05-27T10:26:12Z</updated>
<author>
<name>Christian Gromm</name>
<email>christian.gromm@microchip.com</email>
</author>
<published>2020-05-27T09:06:23Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=6405fe214229c0ac798ffe5940f53a4cfc3a641f'/>
<id>urn:sha1:6405fe214229c0ac798ffe5940f53a4cfc3a641f</id>
<content type='text'>
This patch makes it transparent whether the function is exiting
with an error or successful.

Signed-off-by: Christian Gromm &lt;christian.gromm@microchip.com&gt;
Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Link: https://lore.kernel.org/r/1590570387-27069-7-git-send-email-christian.gromm@microchip.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: most: usb: move allocation of URB out of critical section</title>
<updated>2020-05-27T10:24:46Z</updated>
<author>
<name>Christian Gromm</name>
<email>christian.gromm@microchip.com</email>
</author>
<published>2020-05-27T09:06:22Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=8bf56cfafac12de3087633470b25cada5bdfc7aa'/>
<id>urn:sha1:8bf56cfafac12de3087633470b25cada5bdfc7aa</id>
<content type='text'>
This patch puts the call to usb_alloc_urb() before the critical
section starts that is protected with the io_mutex lock. This is
to make the section as short as possible and to use the regular
GFP_KERNEL flag.

Signed-off-by: Christian Gromm &lt;christian.gromm@microchip.com&gt;
Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Link: https://lore.kernel.org/r/1590570387-27069-6-git-send-email-christian.gromm@microchip.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: most: usb: return 0 instead of variable</title>
<updated>2020-05-27T10:24:46Z</updated>
<author>
<name>Christian Gromm</name>
<email>christian.gromm@microchip.com</email>
</author>
<published>2020-05-27T09:06:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=2c069b61a843dc9c3d2296b54c4baa9730286530'/>
<id>urn:sha1:2c069b61a843dc9c3d2296b54c4baa9730286530</id>
<content type='text'>
This patch returns 0 instead of variable in case of invalid parameter
has been passed to function to increase readability.

Signed-off-by: Christian Gromm &lt;christian.gromm@microchip.com&gt;
Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Link: https://lore.kernel.org/r/1590570387-27069-5-git-send-email-christian.gromm@microchip.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
