lkml.org 
[lkml]   [2014]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH net] r8152: fix the checking of the usb speed
From
From: Hayes Wang <hayeswang@realtek.com>
Date: Thu, 24 Jul 2014 16:37:43 +0800

> When the usb speed of the RTL8152 is not high speed, the USB_DEV_STAT[2:1]
> should be equal to [0 1]. That is, the STAT_SPEED_FULL should be equal
> to 2.
>
> There is a easy way to check the usb speed by the speed field of the
> struct usb_device. Use it to replace the original metheod.
>
> Signed-off-by: Hayes Wang <hayeswang@realtek.com>
> Spotted-by: Andrey Utkin <andrey.krieger.utkin@gmail.com>

Applied, thanks.


\
 
 \ /
  Last update: 2014-07-25 09:21    [W:0.032 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site