diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2015-09-16 17:24:01 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-10-20 16:51:41 +0200 |
commit | 6befa6dd8de73fd726f3b69b63e4aa7b17a25531 (patch) | |
tree | 823df617f5ee6ed622835931e10aee6214d03c36 /drivers/i2c | |
parent | f92d155d3eb05e74380383450eb86ba995c8d766 (diff) | |
download | talos-obmc-linux-6befa6dd8de73fd726f3b69b63e4aa7b17a25531.tar.gz talos-obmc-linux-6befa6dd8de73fd726f3b69b63e4aa7b17a25531.zip |
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>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-ismt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-ismt.c b/drivers/i2c/busses/i2c-ismt.c index 3cc20f35ae8a..21cd4f6636bf 100644 --- a/drivers/i2c/busses/i2c-ismt.c +++ b/drivers/i2c/busses/i2c-ismt.c @@ -817,7 +817,7 @@ intx: priv); if (err) { dev_err(&priv->pci_dev->dev, "no usable interrupts\n"); - return -ENODEV; + return err; } done: |