mmc: matsushita-common: Handle DMA completion flag differences
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Tue, 2 Jan 2018 18:40:49 +0000 (19:40 +0100)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Wed, 11 Apr 2018 21:11:58 +0000 (23:11 +0200)
commit635ae6fefa0945fa5361de6f460d3dde93b143f7
tree2e9a32747dfe2a07d0459d2bba90056c416beab3
parent78773f1467336f4d874a6de8e56a5092b786fde5
mmc: matsushita-common: Handle DMA completion flag differences

The DMA READ completion flag position differs on Socionext and Renesas
SoCs. It is bit 20 on Socionext SoCs and using bit 17 is a hardware bug
and forbidden. It is bit 17 on Renesas SoCs and bit 20 does not work on
them.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/mmc/matsushita-common.c
drivers/mmc/matsushita-common.h