Skip to content
Commit 7303f065 authored by Phil Elwell's avatar Phil Elwell Committed by Dom Cobley
Browse files

pinctrl: bcm2712: Fix for the first valid GPIO



A non-zero mux bit number is used to detect a valid entry in the
pin_regs tables, but GPIO 0 (GPIO 1 on D0) is a valid GPIO with a mux
bit number of zero, so add a high-bit on all valid entries to
distinguish this from an uninitialised row in the table.

Signed-off-by: default avatarPhil Elwell <phil@raspberrypi.com>
parent 0fb8b03d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment