Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Aug 2021 00:28:02 GMT
From:      Marcin Wojtas <mw@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: d8789cd0ae27 - main - mmc_fdt_helper: correct typo in DT property name
Message-ID:  <202108090028.1790S2fP006534@gitrepo.freebsd.org>

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

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

commit d8789cd0ae278a86f92247a87d98bb54f15b5592
Author:     Bartłomiej Grzesik <bag@semihalf.com>
AuthorDate: 2021-07-15 15:08:16 +0000
Commit:     Marcin Wojtas <mw@FreeBSD.org>
CommitDate: 2021-08-09 00:27:41 +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
    
    MFC after: 1 week
    Sponsored by: Semihalf
---
 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 175de28ac5fb..291a4bc72ff2 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?202108090028.1790S2fP006534>