<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/staging/vt6656, branch v3.13</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>staging: vt6656: [BUG] Fix for TX USB resets from vendors driver.</title>
<updated>2013-11-25T17:14:29+00:00</updated>
<author>
<name>Malcolm Priestley</name>
<email>tvboxspy@gmail.com</email>
</author>
<published>2013-11-07T21:49:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=9df682927c2e3a92f43803d6b52095992e3b2ab8'/>
<id>9df682927c2e3a92f43803d6b52095992e3b2ab8</id>
<content type='text'>
This fixes resets on heavy TX data traffic.

Vendor driver
VT6656_Linux_src_v1.21.03_x86_11.04.zip
http://www.viaembedded.com/servlet/downloadSvl?id=1890&amp;download_file_id=14704
This is GPL-licensed code.

original code
BBbVT3184Init
...
//2007-0725, RobertChang add, Enable Squelch detect reset option(SQ_RST_Opt), USB (register4, bit1)
CONTROLnsRequestIn(pDevice,
                                 MESSAGE_TYPE_READ,
                                 (WORD)0x600+4,     // USB's Reg4's bit1
                                 MESSAGE_REQUEST_MEM,
                                 1,
                                 (PBYTE) &amp;byData);
byData = byData|2 ;
CONTROLnsRequestOut(pDevice,
                              MESSAGE_TYPE_WRITE,
                              (WORD)0x600+4,     // USB's Reg4's bit1
                              MESSAGE_REQUEST_MEM,
                              1,
                              (PBYTE) &amp;byData);

return TRUE;//ntStatus;
....

A back port patch is needed for kernels less than 3.10.

Signed-off-by: Malcolm Priestley &lt;tvboxspy@gmail.com&gt;
Cc: stable@vger.kernel.org # v3.10+
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes resets on heavy TX data traffic.

Vendor driver
VT6656_Linux_src_v1.21.03_x86_11.04.zip
http://www.viaembedded.com/servlet/downloadSvl?id=1890&amp;download_file_id=14704
This is GPL-licensed code.

original code
BBbVT3184Init
...
//2007-0725, RobertChang add, Enable Squelch detect reset option(SQ_RST_Opt), USB (register4, bit1)
CONTROLnsRequestIn(pDevice,
                                 MESSAGE_TYPE_READ,
                                 (WORD)0x600+4,     // USB's Reg4's bit1
                                 MESSAGE_REQUEST_MEM,
                                 1,
                                 (PBYTE) &amp;byData);
byData = byData|2 ;
CONTROLnsRequestOut(pDevice,
                              MESSAGE_TYPE_WRITE,
                              (WORD)0x600+4,     // USB's Reg4's bit1
                              MESSAGE_REQUEST_MEM,
                              1,
                              (PBYTE) &amp;byData);

return TRUE;//ntStatus;
....

A back port patch is needed for kernels less than 3.10.

Signed-off-by: Malcolm Priestley &lt;tvboxspy@gmail.com&gt;
Cc: stable@vger.kernel.org # v3.10+
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: vt6655-6: potential NULL dereference in hostap_disable_hostapd()</title>
<updated>2013-11-25T17:14:29+00:00</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2013-11-07T07:55:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=cb4855b49deb1acce27706ad9509d63c4fe8e988'/>
<id>cb4855b49deb1acce27706ad9509d63c4fe8e988</id>
<content type='text'>
We fixed this to use free_netdev() instead of kfree() but unfortunately
free_netdev() doesn't accept NULL pointers.  Smatch complains about
this, it's not something I discovered through testing.

Fixes: 3030d40b5036 ('staging: vt6655: use free_netdev instead of kfree')
Fixes: 0a438d5b381e ('staging: vt6656: use free_netdev instead of kfree')
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&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>
We fixed this to use free_netdev() instead of kfree() but unfortunately
free_netdev() doesn't accept NULL pointers.  Smatch complains about
this, it's not something I discovered through testing.

Fixes: 3030d40b5036 ('staging: vt6655: use free_netdev instead of kfree')
Fixes: 0a438d5b381e ('staging: vt6656: use free_netdev instead of kfree')
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: vt6656: removed space after '*' in pointer declaration</title>
<updated>2013-10-28T03:38:24+00:00</updated>
<author>
<name>Nandini Hanumanthagowda</name>
<email>nandu.hgowda@gmail.com</email>
</author>
<published>2013-10-27T18:07:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=afd4dfbc0630e01d290650310bfcc25bd82a23db'/>
<id>afd4dfbc0630e01d290650310bfcc25bd82a23db</id>
<content type='text'>
space after '*' in pointer declaration is not preferred in linux
and results in checkpatch error. Hence removed the spaces present
after the '*' in pointer declarations to fix the checkpatch errors

Signed-off-by: Nandini Hanumanthagowda &lt;nandu.hgowda@gmail.com&gt;
Reviewed-by: Lisa Nguyen &lt;lisa@xenapiadmin.com&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>
space after '*' in pointer declaration is not preferred in linux
and results in checkpatch error. Hence removed the spaces present
after the '*' in pointer declarations to fix the checkpatch errors

Signed-off-by: Nandini Hanumanthagowda &lt;nandu.hgowda@gmail.com&gt;
Reviewed-by: Lisa Nguyen &lt;lisa@xenapiadmin.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: vt6656: fix code indenting error in power.c</title>
<updated>2013-10-28T03:36:44+00:00</updated>
<author>
<name>Johannes Löthberg</name>
<email>johannes@kyriasis.com</email>
</author>
<published>2013-10-27T21:02:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=f27d2be41d78d6b0f51721efdd5413f47ceeb379'/>
<id>f27d2be41d78d6b0f51721efdd5413f47ceeb379</id>
<content type='text'>
This patch fixes a code indentation error found by checkpatch.pl
where a line was indented with spaces instead of tabs

Signed-off-by: Johannes Löthberg &lt;johannes@kyriasis.com&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>
This patch fixes a code indentation error found by checkpatch.pl
where a line was indented with spaces instead of tabs

Signed-off-by: Johannes Löthberg &lt;johannes@kyriasis.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: vt6656: Fix Sparse Warning: cast from restricted gfp_t in hostap.c</title>
<updated>2013-10-28T03:36:44+00:00</updated>
<author>
<name>Ebru Akagunduz</name>
<email>ebru.akagunduz@gmail.com</email>
</author>
<published>2013-10-27T22:58:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=6dfd609b4d08519185ace2878871710a92a520c3'/>
<id>6dfd609b4d08519185ace2878871710a92a520c3</id>
<content type='text'>
This patch fixes the following type of sparse warnings:

drivers/staging/vt6656/hostap.c:688:42: warning: cast from restricted gfp_t
drivers/staging/vt6656/hostap.c:688:42: warning: incorrect type in argument 2 (different base types)
drivers/staging/vt6656/hostap.c:688:42: expected restricted gfp_t [usertype] flags
drivers/staging/vt6656/hostap.c:688:42: got int [signed] &lt;noident&gt;

Signed-off-by: Ebru Akagunduz &lt;ebru.akagunduz@gmail.com&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>
This patch fixes the following type of sparse warnings:

drivers/staging/vt6656/hostap.c:688:42: warning: cast from restricted gfp_t
drivers/staging/vt6656/hostap.c:688:42: warning: incorrect type in argument 2 (different base types)
drivers/staging/vt6656/hostap.c:688:42: expected restricted gfp_t [usertype] flags
drivers/staging/vt6656/hostap.c:688:42: got int [signed] &lt;noident&gt;

Signed-off-by: Ebru Akagunduz &lt;ebru.akagunduz@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: vt6656: fix a brace coding style issue in power.c</title>
<updated>2013-10-27T13:53:18+00:00</updated>
<author>
<name>Johannes Löthberg</name>
<email>johannes@kyriasis.com</email>
</author>
<published>2013-10-24T05:26:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=0f783c9db61e0016942d7f9b0bb8c2dcb053e613'/>
<id>0f783c9db61e0016942d7f9b0bb8c2dcb053e613</id>
<content type='text'>
This patch fixes a brace warning in power.c found by checkpatch.pl

Signed-off-by: Johannes Löthberg &lt;johannes@kyriasis.com&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>
This patch fixes a brace warning in power.c found by checkpatch.pl

Signed-off-by: Johannes Löthberg &lt;johannes@kyriasis.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: vt6656: removed braces from single line if-statement</title>
<updated>2013-10-27T13:51:25+00:00</updated>
<author>
<name>Nandini Hanumanthagowda</name>
<email>nandu.hgowda@gmail.com</email>
</author>
<published>2013-10-23T18:50:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=05aaf1ac5fc49034494e71c0b511371eae8f9bd8'/>
<id>05aaf1ac5fc49034494e71c0b511371eae8f9bd8</id>
<content type='text'>
removed braces from if-control flow structs whenever it
contained only one statement to comply with the coding style

Signed-off-by: Nandini Hanumanthagowda &lt;nandu.hgowda@gmail.com&gt;
Reviewed-by: Lisa Nguyen &lt;lisa@xenapiadmin.com&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>
removed braces from if-control flow structs whenever it
contained only one statement to comply with the coding style

Signed-off-by: Nandini Hanumanthagowda &lt;nandu.hgowda@gmail.com&gt;
Reviewed-by: Lisa Nguyen &lt;lisa@xenapiadmin.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: vt6656: fixed indentation and unnecessary space errors</title>
<updated>2013-10-27T13:51:25+00:00</updated>
<author>
<name>Nandini Hanumanthagowda</name>
<email>nandu.hgowda@gmail.com</email>
</author>
<published>2013-10-23T18:50:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=3cef1a2e8cd63ff1f45a5c4594bbdffddede001a'/>
<id>3cef1a2e8cd63ff1f45a5c4594bbdffddede001a</id>
<content type='text'>
Fixed the indentation errors and removed unnecessary space
warnings to comply with coding style

Signed-off-by: Nandini Hanumanthagowda &lt;nandu.hgowda@gmail.com&gt;
Reviewed-by: Lisa Nguyen &lt;lisa@xenapiadmin.com&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>
Fixed the indentation errors and removed unnecessary space
warnings to comply with coding style

Signed-off-by: Nandini Hanumanthagowda &lt;nandu.hgowda@gmail.com&gt;
Reviewed-by: Lisa Nguyen &lt;lisa@xenapiadmin.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: vt6656: call usb_device_reset before netdev registration</title>
<updated>2013-10-27T13:50:10+00:00</updated>
<author>
<name>Malcolm Priestley</name>
<email>tvboxspy@gmail.com</email>
</author>
<published>2013-10-22T19:00:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=2467635ee3b6f50131caa1b80b2d116eaf5ce938'/>
<id>2467635ee3b6f50131caa1b80b2d116eaf5ce938</id>
<content type='text'>
The USB reset occurs after netdev registration if network manager
calls device_open too fast causing USB fails in main_usb.c: device_init_registers.

Move the usb reset to before register_netdev.

Signed-off-by: Malcolm Priestley &lt;tvboxspy@gmail.com&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>
The USB reset occurs after netdev registration if network manager
calls device_open too fast causing USB fails in main_usb.c: device_init_registers.

Move the usb reset to before register_netdev.

Signed-off-by: Malcolm Priestley &lt;tvboxspy@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: vt6656: removed line over 80 chars warning</title>
<updated>2013-10-17T20:34:23+00:00</updated>
<author>
<name>Nandini Hanumanthagowda</name>
<email>nandu.hgowda@gmail.com</email>
</author>
<published>2013-10-17T18:52:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=1c3e56f99c91cd07fb75b7eb077a7a699d74450a'/>
<id>1c3e56f99c91cd07fb75b7eb077a7a699d74450a</id>
<content type='text'>
Removed the checkpatch warning of line over 80 chars
by breaking the long line into sensible chunks of 2 lines
to comply with coding style

Signed-off-by: Nandini Hanumanthagowda &lt;nandu.hgowda@gmail.com&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>
Removed the checkpatch warning of line over 80 chars
by breaking the long line into sensible chunks of 2 lines
to comply with coding style

Signed-off-by: Nandini Hanumanthagowda &lt;nandu.hgowda@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
