2786faa33bfc8d61b4fa45dd2e31664de796c837 |
|
01-Jul-2014 |
Jes Sorensen <Jes.Sorensen@redhat.com> |
staging: rtl8723au: Sanitize USB read/write functions The original Realtek provided functions suffered badly from clutter to accommodate broken operating systems. Lets try this lean and clean version instead. v2: Do not use the stack for data passed to usb_control_msg(). This requires reintroducing the mutex used in the old function. In addition, get rid of the no longer used 'usb_vendor_req_buf'. Note that rtl8723au_writeN() remains unlocked, so it can be used for bulk block transfers without having to retake the mutex for every write(). Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
68552a904c86e3e49d53305933371a1225d8aaf2 |
|
16-May-2014 |
Jes Sorensen <Jes.Sorensen@redhat.com> |
staging: rtl8723au: Name port vs register access functions consistently Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
edbfd672cacb0d417096a1ed75e0070f1672c861 |
|
16-May-2014 |
Jes Sorensen <Jes.Sorensen@redhat.com> |
staging: rtl8723au: Call usb_write*() functions directly This allows us to finally remove the ugly HAL interface for accessing registers, and remove rtw_io.c Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
050abc45833c6a66501cb3f938ef6e93ac18da8d |
|
16-May-2014 |
Jes Sorensen <Jes.Sorensen@redhat.com> |
staging: rtl8723au: Call usb_read*() functions directly Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
1c1bc5f1dd86237c65f571ca72c75b285b0dceeb |
|
16-May-2014 |
Jes Sorensen <Jes.Sorensen@redhat.com> |
staging: rtl8723au: Call usb_read_interrupt() directly instead of via HAL layer Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
633475cf5e6bfca434c7feb06653b0a187274c1d |
|
16-May-2014 |
Jes Sorensen <Jes.Sorensen@redhat.com> |
staging: rtl8723au: Call usb_{read,write}_port() functions directly Get rid of more HAL layer obfuscations Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
97ccc3a6bead88e637c0150b19aaea27387ba6f7 |
|
16-May-2014 |
Jes Sorensen <Jes.Sorensen@redhat.com> |
staging: rtl8723au: Clean up usb_{read,write}_port() usage Get rid of silly HAL convolution for calling usb_{read,write}_port() functions. Benefit from fact we just have one input address for read_port, so no point storing this and carrying it around. Pick pipe in the local function instead of based on dst/src address. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
428891a3cb566dac159351d86e3619320f0fb6c3 |
|
16-May-2014 |
Jes Sorensen <Jes.Sorensen@redhat.com> |
staging: rtl8723au: usb_ops_linux.h: Remove some unused #defines Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
2296fd2d928c2cb9d601cdeef5e41eea4c120b88 |
|
16-May-2014 |
Jes Sorensen <Jes.Sorensen@redhat.com> |
staging: rtl8723au: Remove nasty wrappers used to hide wrong function types Do not use #defines to hack around pre-history functions not matching current APIs Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
43eeb8ee53a22b7cc6a4139ce7173c6fc0794d73 |
|
16-May-2014 |
Jes Sorensen <Jes.Sorensen@redhat.com> |
staging: rtl8723au: Remove unused usb_read_mem/usb_write_mem stubs Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
ad899b12192ef2fa0cf81a88a320d5a0de4d5151 |
|
16-May-2014 |
Jes Sorensen <Jes.Sorensen@redhat.com> |
staging: rtl8723au: Clean up error codes in IO functions This also fixes up another messy case assuming _FAIL == false and true == _SUCCESS Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
45c64aa030f5b2674f4ab25e336d22a7029863b1 |
|
26-Apr-2014 |
Jes Sorensen <Jes.Sorensen@redhat.com> |
staging: rtl8723au: Pass a struct rtw_adapter * to the USB functions This lowers the dependency on struct intf_hdl so we can start getting rid of if. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
364e30ebd2dbaccba430c603da03e68746eb932a |
|
29-Mar-2014 |
Larry Finger <Larry.Finger@lwfinger.net> |
staging: r8723au: Add source files for new driver - part 4 The Realtek USB device RTL8723AU is found in Lenovo Yoga 13 tablets. A driver for it has been available in a GitHub repo for several months. This commit contains the fourth part of source files. The source is arbitrarily split to avoid E-mail files that are too large. Jes Sorensen at RedHat has made many improvements to the vendor code, and he has been doing the testing. I do not have access to this device. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Cc: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|