drivers/{mmc,misc}: handle PCI errors on resume
A message that is not in the archive (sent off-list or not yet received): [email protected]
Doesn't Jeff love me anymore? :(
Quoted 14 lines · Alex Dubov
Quoted 11 lines · --- Jeff Garzik
Date: Wed, 11 Oct 2006 17:48:09 -0400
From: Jeff Garzik <[email protected]>
To: [email protected], Andrew Morton <[email protected]>,
LKML <[email protected]>
Subject: [PATCH]drivers/{mmc,misc}: handle PCI errors on resumeSince
pci_enable_device()is one of the first things called in the resume step, take the minimalist approach and return immediately, ifpci_enable_device()fails during resume.
Quoted 5 lines
Quoted 5 lines
Also, in sdhci: don't check for impossible condition (chip==NULL)
Signed-off-by Jeff Garzik <[email protected]>
I'm just being cautious. "This can't happen" is usually the last thing you here before the end. ;)
Signed-off-by Pierre Ossman <[email protected]>
Rgds
Signature · 6 lines
-- Pierre Ossman Linux kernel, MMC maintainer http://www.kernel.org PulseAudio, core developer http://pulseaudio.org rdesktop, core developer http://www.rdesktop.org OLPC, developer http://www.laptop.org