Skip to content
Commit 3c34a5d8 authored by Dan Williams's avatar Dan Williams Committed by John W. Linville
Browse files

atmel: return ENOENT on request_firmware failure



Return errors from request_firmware() (like other drivers that do
firmware load on device open) and make up plausible codes for other
error conditions. Gives userspace tools like NetworkManager a clue that
firmware may be missing when the result of setting IFF_UP is ENOENT.

Signed-off-by: default avatarDan Williams <dcbw@redhat.com>

v2: fix reversed check of atmel_wakeup_firmware() in probe_atmel_card()
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent c2d42545
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment