Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pcmcia/electra_cf: Fix some return values in 'electra_cf_probe()' in …
…case of error 'status' is known to be 0 at this point. It must be set to a meaningful value in order to return an error code if one of the 'of_get_property()' call fails. Return -EINVAL in such a case. Fixes: 2b571a0("pcmcia: CompactFlash driver for PA Semi Electra boards") Signed-off-by: Christophe JAILLET <[email protected]> Acked-by: Olof Johansson <[email protected]> Signed-off-by: Dominik Brodowski <[email protected]>
- Loading branch information