Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp374901ybh; Wed, 15 Jul 2020 04:26:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7VEIRVdIzF0rTRrVVqqa9DMiiqKHBy6yXaCyBuBQwPKZhW+HpQi3Bbb4aNODeQ8L+rP04 X-Received: by 2002:a17:906:76d7:: with SMTP id q23mr9021933ejn.95.1594812397897; Wed, 15 Jul 2020 04:26:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594812397; cv=none; d=google.com; s=arc-20160816; b=Ub00icvkUSVsxe9odhClxYrTDWMeNxJWsdzihoehg9vO6a/N84QFB74ZK1tE/YPTXm YHqQDf2C1iSXeWXVTazvklsJLHZIazcywFn/08iPo0iaUtibvkxGdA6pph1GeipUD/UD 0k+2bKBwSZVK147vCA9GIaf73O4AFAwFnhWDsA1USHCFOxxznNrPRPmf512uKszLsv4k utIDee00xDOJnz81YkwXCHd2sqxoqoFwNbbfTwVKDNd6bceA9KBP9gUQMLOGj4qSi8XJ ahQBec/Dr8FucZCpmD5wli7jgqGoftVoUXjLaIoGpXN7EE6y7egWHcrjIjDieskMFMCh gZZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:user-agent:cc:to :references:in-reply-to:from:subject:content-transfer-encoding :mime-version:dmarc-filter:dkim-signature; bh=ND1S+vgeGB41c0SD+RMUNnjzJhAOUn7HE2/mJONx83w=; b=0WAA8wKM8nDHBZO9kza9N5xX6tRhThqZBIoHloWuugjP7ylC2vmEAQoOfLuOcAyyVC ZEA+EP5nM1MRziGbCMe15muK+RmMnUx/jSJR4oOt8o9pH2EpyZVXsj/WI5NN3jKrnGRh 2RHeT6yJMElAaMC1ZrS00jj9HiwFmqWpgGYUEIREqw8emBXO0LDhld0oOzgHUiYeXCIv tR1Dvf2Z85yP0RwsCV4EE0FT6+8D9bjTNZh2o2uxlPycaISIlqYU0W8gXVNJA/Be89ON pCnW2V+9ytKcewX5pAAe3qNxp8TJaVxSoMENwfV/bQo2S/5b7G7vxTZoz8YfFELv6BIo Q8cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=FqRXeULn; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f18si1073695edw.95.2020.07.15.04.26.13; Wed, 15 Jul 2020 04:26:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=FqRXeULn; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731224AbgGOKiw (ORCPT + 99 others); Wed, 15 Jul 2020 06:38:52 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:14353 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728910AbgGOKiv (ORCPT ); Wed, 15 Jul 2020 06:38:51 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1594809530; h=Date: Message-Id: Cc: To: References: In-Reply-To: From: Subject: Content-Transfer-Encoding: MIME-Version: Content-Type: Sender; bh=ND1S+vgeGB41c0SD+RMUNnjzJhAOUn7HE2/mJONx83w=; b=FqRXeULn55pPNBH9xlbeq3bTTWKoiHVT06fEiYBpDj9T93Q4UdQHz4mp7EydwGWdM5JLcWx9 ZxDttto69E0t9HdPoCXDCXelRlL9A8mm8+ZZLnLzWBMZi9CtcoOYBwue9j1yEt+0+f0Xscnr s6Lga12O0hGd145lAK4tiKaxbpw= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n10.prod.us-west-2.postgun.com with SMTP id 5f0edcb375eeb235f66b3554 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Wed, 15 Jul 2020 10:38:43 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 02F06C433CA; Wed, 15 Jul 2020 10:38:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=0.5 required=2.0 tests=ALL_TRUSTED,MISSING_DATE, MISSING_MID,SPF_NONE autolearn=no autolearn_force=no version=3.4.0 Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id 2522EC433C9; Wed, 15 Jul 2020 10:38:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 2522EC433C9 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH v1] orinoco: use generic power management From: Kalle Valo In-Reply-To: <20200624174048.64754-1-vaibhavgupta40@gmail.com> References: <20200624174048.64754-1-vaibhavgupta40@gmail.com> To: Vaibhav Gupta Cc: Bjorn Helgaas , Bjorn Helgaas , bjorn@helgaas.com, "David S. Miller" , Jakub Kicinski , Vaibhav Gupta , Vaibhav Gupta , linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org, skhan@linuxfoundation.org, netdev@vger.kernel.org, linux-wireless@vger.kernel.org User-Agent: pwcli/0.1.0-git (https://github.com/kvalo/pwcli/) Python/3.5.2 Message-Id: <20200715103843.02F06C433CA@smtp.codeaurora.org> Date: Wed, 15 Jul 2020 10:38:42 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Vaibhav Gupta wrote: > With the support of generic PM callbacks, drivers no longer need to use > legacy .suspend() and .resume() in which they had to maintain PCI states > changes and device's power state themselves. The required operations are > done by PCI core. > > PCI drivers are not expected to invoke PCI helper functions like > pci_save/restore_state(), pci_enable/disable_device(), > pci_set_power_state(), etc. Their tasks are completed by PCI core itself. > > Compile-tested only. > > Signed-off-by: Vaibhav Gupta Patch applied to wireless-drivers-next.git, thanks. c689a62b6712 orinoco: use generic power management -- https://patchwork.kernel.org/patch/11623867/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches