[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200626.121428.112500348777695663.davem@davemloft.net>
Date: Fri, 26 Jun 2020 12:14:28 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: vaibhavgupta40@...il.com
Cc: helgaas@...nel.org, bhelgaas@...gle.com, bjorn@...gaas.com,
vaibhav.varodek@...il.com, kuba@...nel.org, aelior@...vell.com,
skalluru@...vell.com, GR-everest-linux-l2@...vell.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-kernel-mentees@...ts.linuxfoundation.org,
skhan@...uxfoundation.org
Subject: Re: [PATCH v1] bnx2x: use generic power management
From: Vaibhav Gupta <vaibhavgupta40@...il.com>
Date: Wed, 24 Jun 2020 23:21:17 +0530
> With legacy PM, drivers themselves were responsible for managing the
> device's power states and takes care of register states.
>
> After upgrading to the generic structure, PCI core will take care of
> required tasks and drivers should do only device-specific operations.
>
> The driver was also calling bnx2x_set_power_state() to set the power state
> of the device by changing the device's registers' value. It is no more
> needed.
>
> Compile-tested only.
>
> Signed-off-by: Vaibhav Gupta <vaibhavgupta40@...il.com>
Applied, thanks.
Powered by blists - more mailing lists