summaryrefslogtreecommitdiff
path: root/tools/lib/python/__init__.py
diff options
context:
space:
mode:
authorJudith Mendez <jm@ti.com>2026-05-13 18:11:54 -0500
committerLinus Walleij <linusw@kernel.org>2026-05-25 09:50:48 +0200
commitb0c13ec17438577f90b379d448dfed1233e2c0a4 (patch)
tree47fdf0fb7cdf7274dae80a7d58aec52fb4d971f6 /tools/lib/python/__init__.py
parent8473c3a197b57ff01396f7a2ec6ddf65383820d4 (diff)
downloadlwn-b0c13ec17438577f90b379d448dfed1233e2c0a4.tar.gz
lwn-b0c13ec17438577f90b379d448dfed1233e2c0a4.zip
pinctrl: mcp23s08: Read spi-present-mask as u8 not u32
The binding (microchip,mcp23s08) specifies microchip,spi-present-mask as uint8, but driver would read u32, causing type mismatch. Use device_property_read_u8 to match binding spec, hardware (8 chips max), & prevent probe failure. Cc: stable@vger.kernel.org Fixes: 3ad8d3ec6d87 ("dt-bindings: pinctrl: convert pinctrl-mcp23s08.txt to yaml format") Signed-off-by: Judith Mendez <jm@ti.com> Signed-off-by: Linus Walleij <linusw@kernel.org>
Diffstat (limited to 'tools/lib/python/__init__.py')
0 files changed, 0 insertions, 0 deletions