diff options
author | Chris Ball <chris@printf.net> | 2014-09-04 17:11:53 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-14 08:47:55 -0800 |
commit | 003f558269ba36d7b3b84c7dde9a77dd3646d0a3 (patch) | |
tree | dad93600165c04cf5f220b9d5d695736ae385001 /fs/pstore | |
parent | 315a75ea5d19a4cbc68b96024de8e36eb1db68b0 (diff) | |
download | lwn-003f558269ba36d7b3b84c7dde9a77dd3646d0a3.tar.gz lwn-003f558269ba36d7b3b84c7dde9a77dd3646d0a3.zip |
mfd: rtsx_pcr: Fix MSI enable error handling
commit 5152970538a5e16c03bbcb9f1c780489a795ed40 upstream.
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
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/pstore')
0 files changed, 0 insertions, 0 deletions