Re: [PATCH] Input: wm97xx - use EBUSY instead of EINVAL
From: Mark Brown <hidden>
Date: 2009-06-03 10:01:20
From: Mark Brown <hidden>
Date: 2009-06-03 10:01:20
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.