summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/stmpe.c
diff options
context:
space:
mode:
authorChris Ball <chris@printf.net>2014-09-04 17:11:53 +0100
committerLee Jones <lee.jones@linaro.org>2014-09-26 08:23:52 +0100
commit5152970538a5e16c03bbcb9f1c780489a795ed40 (patch)
treeac35cc785d4504c0ab846526b1f14020b6e8baa5 /drivers/mfd/stmpe.c
parent6a71f38dd87f255a0586104ce2a14d5a3ddf3401 (diff)
downloadop-kernel-dev-5152970538a5e16c03bbcb9f1c780489a795ed40.zip
op-kernel-dev-5152970538a5e16c03bbcb9f1c780489a795ed40.tar.gz
mfd: rtsx_pcr: Fix MSI enable error handling
pci_enable_msi() can return failure with both positive and negative integers -- it returns 0 for success -- but is only tested here for "if (ret < 0)". This causes us to try to use MSI on the RTS5249 SD reader in the Dell XPS 11 when enabling MSI failed, causing: [ 1.737110] rtsx_pci: probe of 0000:05:00.0 failed with error -110 Cc: stable <stable@vger.kernel.org> Reported-by: D. Jared Dominguez <Jared_Dominguez@Dell.com> Tested-by: D. Jared Dominguez <Jared_Dominguez@Dell.com> Signed-off-by: Chris Ball <chris@printf.net> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/stmpe.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud