Re: [PATCH] hid: remove NO_D3 flag for ish not CHV platform

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 17 May 2019, hongyan.song@xxxxxxxxx wrote:

> From: Song Hongyan <hongyan.song@xxxxxxxxx>
> 
> NO_D3 flag is set for CHV and the older platforms, the other platform
> suppose can enter D3, if have this NO_D3 flag set it can never enter D3

Could you please provide a little bit more descriptive changelog -- namely 
what observable problem is it fixing.

> Signed-off-by: Song Hongyan <hongyan.song@xxxxxxxxx>
> ---
>  drivers/hid/intel-ish-hid/ipc/pci-ish.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/hid/intel-ish-hid/ipc/pci-ish.c b/drivers/hid/intel-ish-hid/ipc/pci-ish.c
> index a6e1ee7..de1459b 100644
> --- a/drivers/hid/intel-ish-hid/ipc/pci-ish.c
> +++ b/drivers/hid/intel-ish-hid/ipc/pci-ish.c
> @@ -154,7 +154,9 @@ static int ish_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
>  	/* mapping IO device memory */
>  	hw->mem_addr = pcim_iomap_table(pdev)[0];
>  	ishtp->pdev = pdev;
> -	pdev->dev_flags |= PCI_DEV_FLAGS_NO_D3;
> +	/*This NO_D3 flag is only for CHV and older platforms*/

... and while you're updating the changelog, please also stick a space 
before and after the comment mark.

Thanks,

-- 
Jiri Kosina
SUSE Labs




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux