From: jsg Date: Wed, 21 Jun 2023 01:10:17 +0000 (+0000) Subject: call rk3328 not rk3288 functions in rk3328_pinctrl() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4db1513ba33de25db62c43b973c4574461257cdc;p=openbsd call rk3328 not rk3288 functions in rk3328_pinctrl() tested by and ok kettenis@ --- 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;