diff options
| author | Javier Martinez Canillas <javier@osg.samsung.com> | 2016-05-27 17:18:16 +0300 |
|---|---|---|
| committer | Kalle Valo <kvalo@codeaurora.org> | 2016-06-16 18:05:06 +0300 |
| commit | cc524d1706b775466bf16a0a1130105ae5c70f43 (patch) | |
| tree | 599898af2408e1789b46d0763da1340a6711d15a /include/linux | |
| parent | 6f49208fec850639f56ed850ab79dbe7f6979221 (diff) | |
| download | linux-cc524d1706b775466bf16a0a1130105ae5c70f43.tar.xz | |
mwifiex: propagate sdio_enable_func() errno code in mwifiex_sdio_probe()
If the sdio_enable_func() function fails on .probe, the -EIO errno code
is always returned but that could make more difficult to debug and find
the cause of why the function actually failed.
Since the driver/device core prints the value returned by .probe in its
error message propagate what was returned by sdio_enable_func() at fail.
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Reviewed-by: Julian Calaby <julian.calaby@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
