mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
sky2: turn on clocks when doing resume
Some of these chips are disabled until clock is enabled. This fixes: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=404107 Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
9a87240c67
commit
1ad5b4a5c2
1 changed files with 5 additions and 0 deletions
|
@ -3770,6 +3770,11 @@ static int sky2_resume(struct pci_dev *pdev)
|
|||
goto out;
|
||||
|
||||
pci_enable_wake(pdev, PCI_D0, 0);
|
||||
|
||||
/* Re-enable all clocks */
|
||||
if (hw->chip_id == CHIP_ID_YUKON_EX || hw->chip_id == CHIP_ID_YUKON_EC_U)
|
||||
sky2_pci_write32(hw, PCI_DEV_REG3, 0);
|
||||
|
||||
sky2_reset(hw);
|
||||
|
||||
sky2_write32(hw, B0_IMSK, Y2_IS_BASE);
|
||||
|
|
Loading…
Reference in a new issue