lkml.org 
[lkml]   [2018]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] i2c: s3c2410: Properly handle interrupts of number 0
Ok, but in that case the original code is still wrong because it returns
early with success. I guess it could be changed to:

if (irq <= 0)
return -ENXIO;

regards,
dan carpenter

\
 
 \ /
  Last update: 2018-03-02 13:28    [W:0.048 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site