]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ssb: Fix error routine when fallback SPROM fails
authorLarry Finger <Larry.Finger@lwfinger.net>
Sat, 5 Nov 2016 19:08:57 +0000 (14:08 -0500)
committerJiri Slaby <jslaby@suse.cz>
Thu, 26 Jan 2017 16:39:00 +0000 (17:39 +0100)
commita906df2c4b9df9f3aa4abc1955a007abd1a7697c
tree1f654156303f091133bae6f886fc9ed0af0a5dd1
parentb514c427f1ab7d666439c120efa08a8ff0d1bb8b
ssb: Fix error routine when fallback SPROM fails

commit 8052d7245b6089992343c80b38b14dbbd8354651 upstream.

When there is a CRC error in the SPROM read from the device, the code
attempts to handle a fallback SPROM. When this also fails, the driver
returns zero rather than an error code.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/ssb/pci.c