Ported fixed function for mmc/card/block.c from 3.8.y + config.