提交 6befa6dd 编写于 作者: A Andy Shevchenko 提交者: Wolfram Sang

i2c: ismt: propagate actual error code

Propagate actual return code when requesting interrupt fails.
Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: NMika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册