Message ID | 20230502033627.2795-413-nic_swsd@realtek.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp341719vqo; Mon, 1 May 2023 20:58:30 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ75rvNrdaOJebPuw9Kl1XsKyi0QbaEmEDVHcTZDTvZ0BHcYHHmz/JeO6IJ+Azyb2TETtez0 X-Received: by 2002:a17:90a:fb84:b0:24e:1b9:8292 with SMTP id cp4-20020a17090afb8400b0024e01b98292mr4767183pjb.48.1682999910482; Mon, 01 May 2023 20:58:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682999910; cv=none; d=google.com; s=arc-20160816; b=anCoo38zaSnOc4PetIeSvZpTW+PMExmO2J4QV1p7aMR35xmJKTj3sguGFBfOKK4doG BBnTj+MHwh9nBtsuWfJ9UiiAkVGHqjU/9inDiN6SwBprbsTzcjaTL3mep8bzT44rLqsO iGeHXTMX35KCjFqwVqPORXQr2BlW0HAUz/YkvaToqTc1Zl05CoHD7Pc2u8Ox2IDH1Ujw EujJYPjiG812B/RntMweHkj4PvdC3Rnx4H9Ka5SsC/4rlswIm9bem+VVxqh7qpDqfnRQ zBmmAyDljcvE17/MxLlbl39FEYCAZMmGyS+L8oPrEeRqYsgC7fQsdjOUDykYAbj6/OF+ tXvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:authenticated-by; bh=YeYgrtbBYwdyuXoixIlApy/eS7/cfamTISp1xxTtXmo=; b=dD0F9p469i0htt1jXbTpcblEYCtJS73iPSykQQXk8hqhx21ugh2FWTooD58u3rfBCz v4NQBZORxYEp8NIctTGuiM/97mUkTu+xolud00xV+XsqZGZ5In62J9u3jGpY8YgmWeDL Sz0K57XUJfZ+8wp9pDljvlEXFWIhnOSJNX6xbLeDrtyjGZnkVL6E4gRjyR1tKKwaD1JN Wvp1BQsOqGBoLn61N9LST4ZUEzrnEQGNLLi5eA8gdyq/OkSF1ceRxm8/ZMqHP8yQA8Ym gNnNc4sKWPMhmgMnUTJ9T3/yfyp1809/3b++fRsEQxncc/pq486siJU3hDDaOhEwNZK2 1ncQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 25-20020a630a19000000b00524da647e20si23350135pgk.458.2023.05.01.20.58.15; Mon, 01 May 2023 20:58:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233297AbjEBDhZ (ORCPT <rfc822;rbbytesnap@gmail.com> + 99 others); Mon, 1 May 2023 23:37:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232790AbjEBDhX (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 1 May 2023 23:37:23 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39D7C19BB; Mon, 1 May 2023 20:37:22 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 3423b3PX1017557, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36505.realtek.com.tw[172.21.6.25]) by rtits2.realtek.com.tw (8.15.2/2.81/5.90) with ESMTPS id 3423b3PX1017557 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=OK); Tue, 2 May 2023 11:37:03 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXH36505.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.32; Tue, 2 May 2023 11:36:58 +0800 Received: from fc34.localdomain (172.22.228.98) by RTEXMBS04.realtek.com.tw (172.21.6.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Tue, 2 May 2023 11:36:57 +0800 From: Hayes Wang <hayeswang@realtek.com> To: <kuba@kernel.org>, <davem@davemloft.net> CC: <netdev@vger.kernel.org>, <nic_swsd@realtek.com>, <linux-kernel@vger.kernel.org>, <linux-usb@vger.kernel.org>, Hayes Wang <hayeswang@realtek.com> Subject: [PATCH net] r8152: fix the autosuspend doesn't work Date: Tue, 2 May 2023 11:36:27 +0800 Message-ID: <20230502033627.2795-413-nic_swsd@realtek.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [172.22.228.98] X-ClientProxiedBy: RTEXH36505.realtek.com.tw (172.21.6.25) To RTEXMBS04.realtek.com.tw (172.21.6.97) X-KSE-ServerInfo: RTEXMBS04.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-ServerInfo: RTEXH36505.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback X-KSE-AntiSpam-Interceptor-Info: fallback X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764753314111640881?= X-GMAIL-MSGID: =?utf-8?q?1764753314111640881?= |
Series |
[net] r8152: fix the autosuspend doesn't work
|
|
Commit Message
Hayes Wang
May 2, 2023, 3:36 a.m. UTC
Set supports_autosuspend = 1 for the rtl8152_cfgselector_driver.
Fixes: ec51fbd1b8a2 ("r8152: add USB device driver for config selection")
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
---
drivers/net/usb/r8152.c | 1 +
1 file changed, 1 insertion(+)
Comments
Hello: This patch was applied to netdev/net.git (main) by David S. Miller <davem@davemloft.net>: On Tue, 2 May 2023 11:36:27 +0800 you wrote: > Set supports_autosuspend = 1 for the rtl8152_cfgselector_driver. > > Fixes: ec51fbd1b8a2 ("r8152: add USB device driver for config selection") > Signed-off-by: Hayes Wang <hayeswang@realtek.com> > --- > drivers/net/usb/r8152.c | 1 + > 1 file changed, 1 insertion(+) Here is the summary with links: - [net] r8152: fix the autosuspend doesn't work https://git.kernel.org/netdev/net/c/0fbd79c01a9a You are awesome, thank you!
diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index 755b0f72dd44..0999a58ca9d2 100644 --- a/drivers/net/usb/r8152.c +++ b/drivers/net/usb/r8152.c @@ -9910,6 +9910,7 @@ static struct usb_device_driver rtl8152_cfgselector_driver = { .probe = rtl8152_cfgselector_probe, .id_table = rtl8152_table, .generic_subclass = 1, + .supports_autosuspend = 1, }; static int __init rtl8152_driver_init(void)