git: d8789cd0ae27 - main - mmc_fdt_helper: correct typo in DT property name

Marcin Wojtas mw at FreeBSD.org
Mon Aug 9 00:28:03 UTC 2021


The branch main has been updated by mw:

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

commit d8789cd0ae278a86f92247a87d98bb54f15b5592
Author:     Bartłomiej Grzesik <bag at semihalf.com>
AuthorDate: 2021-07-15 15:08:16 +0000
Commit:     Marcin Wojtas <mw at 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;


More information about the dev-commits-src-all mailing list