Skip to content
Commit 85b580af authored by Andre Przywara's avatar Andre Przywara Committed by Ulf Hansson
Browse files

mmc: sunxi-mmc: Fix A100 compatible description



It turns out that the Allwinner A100/A133 SoC only supports 8K DMA
blocks (13 bits wide), for both the SD/SDIO and eMMC instances.
And while this alone would make a trivial fix, the H616 falls back to
the A100 compatible string, so we have to now match the H616 compatible
string explicitly against the description advertising 64K DMA blocks.

As the A100 is now compatible with the D1 description, let the A100
compatible string point to that block instead, and introduce an explicit
match against the H616 string, pointing to the old description.
Also remove the redundant setting of clk_delays to NULL on the way.

Fixes: 3536b82e ("mmc: sunxi: add support for A100 mmc controller")
Cc: stable@vger.kernel.org
Signed-off-by: Andre Przywara's avatarAndre Przywara <andre.przywara@arm.com>
Tested-by: default avatarParthiban Nallathambi <parthiban@linumiz.com>
Reviewed-by: default avatarChen-Yu Tsai <wens@csie.org>
Message-ID: <20241107014240.24669-1-andre.przywara@arm.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent c4dedaae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment