From: Bing Zhao Date: Tue, 26 Nov 2013 23:39:20 +0000 (-0800) Subject: mmc: sdio: add a quirk for broken SDIO_CCCR_INTx polling X-Git-Tag: v3.14-rc1~88^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5624054c1726a16c13a89c08b2792aba3df06eb;p=pandora-kernel.git mmc: sdio: add a quirk for broken SDIO_CCCR_INTx polling Polling SDIO_CCCR_INTx could create a fake interrupt with Marvell SD8797 card. Add a quirk to handle this case. The fixup here is to issue a dummy CMD52 read to function 0 register 0xff, and this dummy read must be right after SDIO_CCCR_INTx is read. Patch has been verified on a dw_mmc controller (Samsung Chromebook) with MMC_CAP_SDIO_IRQ disabled. Signed-off-by: Bing Zhao Reviewed-by: Paul Stewart Reviewed-by: Doug Anderson Acked-by: Ulf Hansson Signed-off-by: Chris Ball --- Reading git-diff-tree failed