Re: [PATCH] mmc: Always check for lower base frequency quirk forRicoh 1180:e823

From: Manoj Iyer
Date: Wed Oct 05 2011 - 14:19:36 EST


On Wed, 5 Oct 2011, Josh Boyer wrote:

On Wed, Oct 05, 2011 at 11:27:01AM -0500, Manoj Iyer wrote:
On Wed, 5 Oct 2011, Josh Boyer wrote:

Commit 15bed0f2f added a quirk for the e823 Ricoh card reader to lower the
base frequency. However, the quirk first checks to see if the proprietary
MMC controller is disabled, and returns if so. On some devices, such as the
Lenovo X220, the MMC controller is already disabled by firmware it seems,

It is possible that the newer firmware from Lenovo disables the MMC
controller. When the patch was done, these laptops had just been
announced, so they had a very early version of the firmware (ver
1.02 iirc).

Seems so. The X220 laptop I debugged this on shows:

[jwboyer@zod linux-2.6]$ cat /sys/devices/virtual/dmi/id/bios_version
8DET42WW (1.12 )

I was able to track down the one I debugged, luckily the firmware on it was never updated, and great! the bios is even older than I thought...

u@u:~$ cat /sys/devices/virtual/dmi/id/bios_version
8DET25WW (0.25 )
u@u:~$

So, yes definitely looks like BIOS might have disabled MMC in the newer releases. /me wonders when IBVs will get their act together ...


josh



--
====================
Manoj Iyer
Ubuntu/Canonical
Hardware Enablement
====================
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/