]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: dwc2: remove redundant D0 power state set
authorYijing Wang <wangyijing@huawei.com>
Thu, 30 May 2013 10:24:07 +0000 (18:24 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Jun 2013 19:29:55 +0000 (12:29 -0700)
commitbf1ace2a3f0d133a662727f238928654bdc1d1b3
tree53edb540b39927d1d9dfad497df5fe5523539fbf
parent2a1afdbf20ef028d6361c2257b3fef51a8df8b36
staging: dwc2: remove redundant D0 power state set

Pci_enable_device() will set device power state to D0,
so it's no need to do it again in dwc2_driver_probe().

Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dwc2/pci.c