Re: [PATCH v2] misc: rtsx: separate aspm mode into MODE_REG and MODE_CFG

From: Greg KH
Date: Tue Jun 08 2021 - 04:59:35 EST


On Tue, Jun 08, 2021 at 11:43:03AM +0800, Chris Chiu wrote:
> On Mon, Jun 7, 2021 at 6:16 PM <ricky_wu@xxxxxxxxxxx> wrote:
> >
> > From: Ricky Wu <ricky_wu@xxxxxxxxxxx>
> >
> > aspm (Active State Power Management)
> > rtsx_comm_set_aspm: this function is for driver to make sure
> > not enter power saving when processing of init and card_detcct
> > ASPM_MODE_CFG: 8411 5209 5227 5229 5249 5250
> > Change back to use original way to control aspm
> > ASPM_MODE_REG: 5227A 524A 5250A 5260 5261 5228
> > Keep the new way to control aspm
> >
> > Signed-off-by: Ricky Wu <ricky_wu@xxxxxxxxxxx>
> > ---
> Reported-by: Chris Chiu <chris.chiu@xxxxxxxxxxxxx>

Can you test this to verify it works?

thanks,

greg k-h