mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-09-26 12:20:25 +00:00
Add a patch fixing an issue where tools like 'gpiofind' incorrectly abort with a 'No such device' (ENODEV) error if a hotpluggable GPIO controller (like a USB device) vanishes from /dev during the search. This patch gracefully handles the race condition by ignoring ENODEV errors when searching for a line and silently skipping chips that fail to open during iteration. Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> Signed-off-by: Potin Lai <potin.lai.pt@gmail.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>