i2c: ismt: propagate actual error code
Propagate actual return code when requesting interrupt fails. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
parent
f92d155d3e
commit
6befa6dd8d
|
@ -817,7 +817,7 @@ intx:
|
|||
priv);
|
||||
if (err) {
|
||||
dev_err(&priv->pci_dev->dev, "no usable interrupts\n");
|
||||
return -ENODEV;
|
||||
return err;
|
||||
}
|
||||
|
||||
done:
|
||||
|
|
Loading…
Reference in New Issue