Skip to contentSkip to conversation

drivers/{mmc,misc}: handle PCI errors on resume

PATCH Pierre Ossman 1 participant 1 message Oct 12, 2006 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

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 resume

Since pci_enable_device() is one of the first things called in the resume step, take the minimalist approach and return immediately, if pci_enable_device() fails during resume.

Quoted 5 lines
Quoted 5 lines

Also, in sdhci: don't check for impossible condition (chip==NULL)

I'm just being cautious. "This can't happen" is usually the last thing you here before the end. ;)

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