Re: [PATCH] i2c: s3c2410: Properly handle interrupts of number 0

From: Dan Carpenter
Date: Fri Mar 02 2018 - 07:28:08 EST


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