smsc911x: request_any_context_irq can return postive value upon success
When support for nested interrupts was merged in commit 3a076852dc80aa3cfc02c880c41dcd947cdeab70 in kernel 2.6.38 it appears as though this previous commit was not merged properly. Change-Id: I2aca73fdb1ae663ca058aadd27fe658de6d851e3 Signed-off-by: Terence Hampson <thampson@codeaurora.org>
This commit is contained in:
@@ -2192,7 +2192,7 @@ static int __devinit smsc911x_drv_probe(struct platform_device *pdev)
|
||||
|
||||
retval = request_any_context_irq(dev->irq, smsc911x_irqhandler,
|
||||
irq_flags | IRQF_SHARED, dev->name, dev);
|
||||
if (retval) {
|
||||
if (retval < 0) {
|
||||
SMSC_WARN(pdata, probe,
|
||||
"Unable to claim requested irq: %d", dev->irq);
|
||||
goto out_unmap_io_3;
|
||||
|
||||
Reference in New Issue
Block a user