mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
i2c: ismt: propagate actual error code
Propagate actual return code when requesting interrupt fails. Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Mika Westerberg <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
This commit is contained in:
parent
f92d155d3e
commit
6befa6dd8d
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue