diff options
| author | 2026-04-15 23:50:21 +0300 | |
|---|---|---|
| committer | 2026-05-04 12:19:25 +0200 | |
| commit | b47bc7c022ddab7c79a84dd5f3f0d07fe09ec786 (patch) | |
| tree | 5a708678367b7956cb3a52190bbb757465e0f5f7 /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | i2c: dev: prevent integer overflow in I2C_TIMEOUT ioctl (diff) | |
i2c: Compare the return value of gpiod_get_direction against GPIO_LINE_DIRECTION_OUT
The GPIO_LINE_DIRECTION_* definitions have just recently been exposed to
gpio consumers.h by breaking them out in a separate defs.h file.
Use this to validate the gpio direction instead of the hard-coded literal.
Signed-off-by: Nikola Z. Ivanov <zlatistiv@gmail.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
