summaryrefslogtreecommitdiff
path: root/drivers/w1
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2008-08-18 23:40:02 +0400
committerJohn W. Linville <linville@tuxdriver.com>2008-08-27 04:06:30 +0400
commit3c34a5d821b825b720189e87561ba18500cf8026 (patch)
treee7c133cc220680f2beec71de24788a9ca6780133 /drivers/w1
parentc2d42545774c4bba7232521d836d0793330e3a4e (diff)
downloadlinux-3c34a5d821b825b720189e87561ba18500cf8026.tar.xz
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: Dan Williams <dcbw@redhat.com> v2: fix reversed check of atmel_wakeup_firmware() in probe_atmel_card() Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/w1')
0 files changed, 0 insertions, 0 deletions