]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-iproc: Apply caps from bcm2835-mmc driver
authorStefan Wahren <stefan.wahren@i2se.com>
Fri, 30 Dec 2016 15:24:32 +0000 (15:24 +0000)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 13 Feb 2017 12:19:54 +0000 (13:19 +0100)
commitae192c8c55dec33ee8aea6d5a3286a433863e04a
tree18ffe9acfb954dde8ad0804fc9d507882482e0c9
parentd92cad78c431b4c14e2ad2d2ac6b35e6996af609
mmc: sdhci-iproc: Apply caps from bcm2835-mmc driver

Since the mmc module on bcm2835 neither provide a capabilities register nor
free documentation we must rely on the downstream implementation [1].

So enable the following capabilities for bcm2835:

MMC_CAP_MMC_HIGHSPEED
MMC_CAP_SD_HIGHSPEED
MMC_CAP_DRIVER_TYPE_A
MMC_CAP_DRIVER_TYPE_C

[1] - https://github.com/raspberrypi/linux/blob/rpi-4.4.y/drivers/mmc/host/bcm2835-mmc.c

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-iproc.c