• Adrian Hunter's avatar
    mmc: sdhci: Allow override of mmc host operations · bf60e592
    Adrian Hunter authored
    In the past, fixes for specific hardware devices were implemented
    in sdhci using quirks.  That approach is no longer accepted because
    the growing number of quirks was starting to make the code difficult
    to understand and maintain.
    
    One alternative to quirks, is to allow drivers to override the default
    mmc host operations.  This patch makes it easy to do that, and it is
    needed for a subsequent bug fix, for which separate patches are
    provided.
    Signed-off-by: default avatarAdrian Hunter <adrian.hunter@intel.com>
    Cc: stable@vger.kernel.org # v4.4+
    Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
    bf60e592
sdhci.h 22.2 KB