commit | 4ac887cfdad909f16ee1886fe4fa19b452fc7fd3 | [log] [tgz] |
---|---|---|
author | Arend van Spriel <arend@broadcom.com> | Tue Mar 06 15:50:47 2012 +0100 |
committer | John W. Linville <linville@tuxdriver.com> | Tue Mar 06 15:16:18 2012 -0500 |
tree | c1097f92d77ca108ff5a3e6cec0800287fefc80b | |
parent | 5c17ddc4a047c59638c7eb8537aa887a1ddb9b0b [diff] |
bcma: return error in bcma_sprom_get() when fallback fails When not SPROM is available a fallback mechanism is used. However, when that fails the code currently continues. This patch assures that the bcma_sprom_get() function aborts when that happens. Cc: Rafal Milecki <zajec5@gmail.com> Cc: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>