HomeFreeBSD

snd_ich(4): Handle errors from ich_init() properly during resume.

Description

snd_ich(4): Handle errors from ich_init() properly during resume.

ich_init() returns an errno value or 0, but ich_pci_resume() was
comparing the return value with -1 to determine whether an error had
occurred.

PR: 248941
Submitted by: Tong Zhang <ztong0001@gmail.com>
MFC after: 1 week

Details

Provenance
markjAuthored on
Parents
rS364872: fdc(4): Handle errors from fdc_in() properly.
Branches
Unknown
Tags
Unknown