From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752153AbbG3VEE (ORCPT ); Thu, 30 Jul 2015 17:04:04 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:41264 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751250AbbG3VEC (ORCPT ); Thu, 30 Jul 2015 17:04:02 -0400 Date: Thu, 30 Jul 2015 14:04:01 -0700 (PDT) Message-Id: <20150730.140401.2147687049481097497.davem@davemloft.net> To: hayeswang@realtek.com Cc: netdev@vger.kernel.org, nic_swsd@realtek.com, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [PATCH net v3 0/2] r8152: device reset From: David Miller In-Reply-To: <1394712342-15778-162-Taiwan-albertk@realtek.com> References: <1394712342-15778-156-Taiwan-albertk@realtek.com> <1394712342-15778-162-Taiwan-albertk@realtek.com> X-Mailer: Mew version 6.6 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 30 Jul 2015 14:04:02 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hayes Wang Date: Wed, 29 Jul 2015 20:39:07 +0800 > v3: > For patch #2, remove cancel_delayed_work(). > > v2: > For patch #1, remove usb_autopm_get_interface(), usb_autopm_put_interface(), and > the checking of intf->condition. > > For patch #2, replace the original method with usb_queue_reset_device() to reset > the device. > > v1: > Although the driver works normally, we find the device may get all 0xff data when > transmitting packets on certain platforms. It would break the device and no packet > could be transmitted. The reset is necessary to recover the hw for this situation. Series applied, thanks.