Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Oct 2021 16:11:13 GMT
From:      Marcin Wojtas <mw@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: fb5eed2c4320 - stable/13 - mmc_fdt_helper: correct typo in DT property name
Message-ID:  <202110071611.197GBDkm086322@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by mw:

URL: https://cgit.FreeBSD.org/src/commit/?id=fb5eed2c43202a5524aededa0409a531bd3e6a44

commit fb5eed2c43202a5524aededa0409a531bd3e6a44
Author:     Marcin Wojtas <mw@FreeBSD.org>
AuthorDate: 2021-07-15 15:08:16 +0000
Commit:     Marcin Wojtas <mw@FreeBSD.org>
CommitDate: 2021-10-07 16:09:50 +0000

    mmc_fdt_helper: correct typo in DT property name
    
    'no-1-8-v' is a proper name according to the DT binding
    documentation
    (https://www.kernel.org/doc/Documentation/devicetree/bindings/mmc/mmc-controller.yaml).
    
    Fixes: e63fbd7bb7a25
    
    Submitted by: Bartlomiej Grzesik <bag@semihalf.com>
    Sponsored by: Semihalf
    
    (cherry picked from commit d8789cd0ae278a86f92247a87d98bb54f15b5592)
---
 sys/dev/mmc/mmc_fdt_helpers.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/mmc/mmc_fdt_helpers.c b/sys/dev/mmc/mmc_fdt_helpers.c
index 4e8a1730d240..9ec4e1a8d213 100644
--- a/sys/dev/mmc/mmc_fdt_helpers.c
+++ b/sys/dev/mmc/mmc_fdt_helpers.c
@@ -56,7 +56,7 @@ mmc_fdt_parse_sd_speed(phandle_t node, struct mmc_host *host)
 	 * Parse SD supported modes 
 	 * All UHS-I modes requires 1.8V signaling.
 	 */
-	if (OF_hasprop(node, "no1-8-v"))
+	if (OF_hasprop(node, "no-1-8-v"))
 		no_18v = true;
 	if (OF_hasprop(node, "cap-sd-highspeed"))
 		host->caps |= MMC_CAP_HSPEED;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110071611.197GBDkm086322>