terry0012 opened a new pull request, #22370:
URL: https://github.com/apache/nuttx/pull/22370

   ## Summary
   
   Replace the touchscreen upper-half mutexes with per-device and
   per-open spinlocks to protect the open-file list, grab state and
   event buffers without taking sleeping locks during event delivery.
   
   Release the per-open lock before waiting for input, and use the
   nopreempt variants around semaphore and poll notifications.
   
   ## Impact
   
   - Changes are limited to drivers/input/touchscreen_upper.c.
   - No public API or Kconfig changes.
   - Shared-state protection changes from mutexes to IRQ-safe spinlocks.
   
   ## Testing
   
   - Passed checkpatch.sh -f drivers/input/touchscreen_upper.c.
   - Passed git diff --check.
   - Passed GCC syntax-only checks with -Wall and -Werror for both the
     community baseline and the modified file using the existing sim
     configuration. SMP was disabled in this configuration.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to