[PATCH] Fix request_irq error handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



request_irq returns 0 on success and a negative code on failure.
Many ALSA drivers incorrectly check for failure by testing for a
positive code instead of a negative one.

Signed-Off-By: Ash Willis <ashwillis@xxxxxxxxxxxxxx>


-- 
We've Got Your Name at http://www.mail.com!
Get a FREE E-mail Account Today - Choose From 100+ Domains

Attachment: request_irq_error_handling.patch
Description: Binary data

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux