mmc: backported fix from kernel 3.0

Change-Id: Ib035b555b8f72e428ef04bb8f90f76609f27754a