From: Larry Finger Date: Sat, 5 Nov 2016 19:08:57 +0000 (-0500) Subject: ssb: Fix error routine when fallback SPROM fails X-Git-Tag: v3.2.87~183 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=765358f2601d3d0c8fe504da9e5ab4fd6a257043;p=pandora-kernel.git 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 Signed-off-by: Kalle Valo [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed