Commit 6befa6dd authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Wolfram Sang

i2c: ismt: propagate actual error code

Propagate actual return code when requesting interrupt fails.
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent f92d155d
......@@ -817,7 +817,7 @@ static int ismt_int_init(struct ismt_priv *priv)
priv);
if (err) {
dev_err(&priv->pci_dev->dev, "no usable interrupts\n");
return -ENODEV;
return err;
}
done:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment