]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
mmc: mmci: fix an ages old detection error
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 4 Jan 2016 01:21:55 +0000 (02:21 +0100)
committerLuis Henriques <luis.henriques@canonical.com>
Tue, 2 Feb 2016 19:09:39 +0000 (19:09 +0000)
commit 0bcb7efdff63564e80fe84dd36a9fbdfbf6697a4 upstream.

commit 4956e10903fd ("ARM: 6244/1: mmci: add variant data and default
MCICLOCK support") added variant data for ARM, U300 and Ux500 variants.
The Nomadik NHK8815/8820 variant was erroneously labeled as a U300
variant, and when the proper Nomadik variant was later introduced in
commit 34fd421349ff ("ARM: 7378/1: mmci: add support for the Nomadik MMCI
variant") this was not fixes. Let's say this fixes the latter commit as
there was no proper Nomadik support until then.

Fixes: 34fd421349ff ("ARM: 7378/1: mmci: add support for the Nomadik...")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
drivers/mmc/host/mmci.c

index d3f05ad33f0920dc68428057874dbd710d8b32ee..0deb8704f198e6ebbac962d72bb980ccbbf5fcff 100644 (file)
@@ -1749,7 +1749,7 @@ static struct amba_id mmci_ids[] = {
        {
                .id     = 0x00280180,
                .mask   = 0x00ffffff,
-               .data   = &variant_u300,
+               .data   = &variant_nomadik,
        },
        {
                .id     = 0x00480180,