Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/sdmmc Remove a test that prevents tuning from happen...



details:   https://anonhg.NetBSD.org/src/rev/14b646c245c4
branches:  trunk
changeset: 823085:14b646c245c4
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Apr 11 23:26:33 2017 +0000

description:
Remove a test that prevents tuning from happening on eMMC devices.

diffstat:

 sys/dev/sdmmc/sdmmc_mem.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r 5fef1b00154c -r 14b646c245c4 sys/dev/sdmmc/sdmmc_mem.c
--- a/sys/dev/sdmmc/sdmmc_mem.c Tue Apr 11 21:15:57 2017 +0000
+++ b/sys/dev/sdmmc/sdmmc_mem.c Tue Apr 11 23:26:33 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sdmmc_mem.c,v 1.55 2017/02/17 10:51:48 nonaka Exp $    */
+/*     $NetBSD: sdmmc_mem.c,v 1.56 2017/04/11 23:26:33 jmcneill Exp $  */
 /*     $OpenBSD: sdmmc_mem.c,v 1.10 2009/01/09 10:55:22 jsg Exp $      */
 
 /*
@@ -45,7 +45,7 @@
 /* Routines for SD/MMC memory cards. */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sdmmc_mem.c,v 1.55 2017/02/17 10:51:48 nonaka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sdmmc_mem.c,v 1.56 2017/04/11 23:26:33 jmcneill Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_sdmmc.h"
@@ -744,9 +744,6 @@
 {
        int timing = -1;
 
-       if (!ISSET(sc->sc_flags, SMF_UHS_MODE))
-               return 0;
-
        if (ISSET(sc->sc_flags, SMF_SD_MODE)) {
                if (!ISSET(sc->sc_flags, SMF_UHS_MODE))
                        return 0;



Home | Main Index | Thread Index | Old Index