ping...?

On 2013/6/27 20:57, Yijing Wang wrote:
> Use standard PM state macros PCI_Dx instead of numeric 0/1/2..
> 
> Signed-off-by: Yijing Wang <[email protected]>
> Cc: Forest Bond <[email protected]>
> Cc: Greg Kroah-Hartman <[email protected]>
> Cc: Jiri Kosina <[email protected]>
> Cc: Devendra Naga <[email protected]>
> Cc :Joe Perches <[email protected]>
> Cc: Marcos Paulo de Souza <[email protected]>
> Cc: Bill Pemberton <[email protected]>
> Cc: [email protected]
> Cc: [email protected]
> ---
>  drivers/staging/vt6655/device_main.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/vt6655/device_main.c 
> b/drivers/staging/vt6655/device_main.c
> index 08b250f..7f36a71 100644
> --- a/drivers/staging/vt6655/device_main.c
> +++ b/drivers/staging/vt6655/device_main.c
> @@ -3370,8 +3370,8 @@ viawget_resume(struct pci_dev *pcid)
>       PSMgmtObject  pMgmt = pDevice->pMgmt;
>       int power_status;   // to silence the compiler
>  
> -     power_status = pci_set_power_state(pcid, 0);
> -     power_status = pci_enable_wake(pcid, 0, 0);
> +     power_status = pci_set_power_state(pcid, PCI_D0);
> +     power_status = pci_enable_wake(pcid, PCI_D0, 0);
>       pci_restore_state(pcid);
>       if (netif_running(pDevice->dev)) {
>               spin_lock_irq(&pDevice->lock);
> 


-- 
Thanks!
Yijing

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to