mmc: sdhci: Fix crash on boot with C0 stepping Moorestown platforms
commit35ac6f081f26e1b6b3482b9c8dfccebe7817c691
authorJacob Pan <jacob.jun.pan@linux.intel.com>
Tue, 9 Nov 2010 13:57:29 +0000 (9 13:57 +0000)
committerChris Ball <cjb@laptop.org>
Tue, 9 Nov 2010 14:33:24 +0000 (9 09:33 -0500)
treefbfbac505f0464d4fb28e107dbb6a19adc9c8ec2
parent16a790bcce87740d219b7227eaa4df72804097ea
mmc: sdhci: Fix crash on boot with C0 stepping Moorestown platforms

SDHC2 is newly added in C0 stepping of Langwell. Without the Moorestown
specific quirk, the default pci_probe will be called and crash the kernel.

This patch unblocks the crash problem on C0 by using the same probing
function as HC1, which limits the number of slots to one.

Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-pci.c
include/linux/pci_ids.h