On 6/3/2009 7:01 PM, Mark Brown wrote: > On Wed, Jun 03, 2009 at 02:45:15PM +0900, Joonyoung Shim wrote: >> If request_irq() fails, we have to return -EBUSY instead of -EINVAL. > > Could you provide a bit more explanation for this one, please? -EBUSY > seems to give entirely the wrong impression to applications since in the > systems where this driver will be deployed a failure to acquire the IRQ > is most likely to be due to incorrect platform data and it is highly > unlikely to resolve itself. -EBUSY is used in many touchscreen drivers currently, but i agree dmitry opinion to propagate what request_irq() returned because request_irq() can return different errnos. Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html