From 4db1513ba33de25db62c43b973c4574461257cdc Mon Sep 17 00:00:00 2001 From: jsg Date: Wed, 21 Jun 2023 01:10:17 +0000 Subject: [PATCH] call rk3328 not rk3288 functions in rk3328_pinctrl() tested by and ok kettenis@ --- sys/dev/fdt/rkpinctrl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/fdt/rkpinctrl.c b/sys/dev/fdt/rkpinctrl.c index 36db072a32c..8b036c8c5f0 100644 --- a/sys/dev/fdt/rkpinctrl.c +++ b/sys/dev/fdt/rkpinctrl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rkpinctrl.c,v 1.12 2023/06/19 13:37:22 kettenis Exp $ */ +/* $OpenBSD: rkpinctrl.c,v 1.13 2023/06/21 01:10:17 jsg Exp $ */ /* * Copyright (c) 2017, 2018 Mark Kettenis * @@ -550,8 +550,8 @@ rk3328_pinctrl(uint32_t phandle, void *cookie) bank = pins[i]; idx = pins[i + 1]; mux = pins[i + 2]; - pull = rk3288_pull(bank, idx, pins[i + 3]); - strength = rk3288_strength(bank, idx, pins[i + 3]); + pull = rk3328_pull(bank, idx, pins[i + 3]); + strength = rk3328_strength(bank, idx, pins[i + 3]); if (bank > 3 || idx > 32 || mux > 3) continue; -- 2.20.1