HomeFreeBSD

rk_pinctrl: fix error check

Description

rk_pinctrl: fix error check

The parse_bias method returns a signed int, with a value of -1 when
the device tree reports nothing of the bias configuration. Convert the
local 'bias' from unsigned to signed to properly check this condition.

PR: 229721
Reviewed by: mhorne
MFC after: 3 days

Details

Provenance
John F. Carr <jfc@mit.edu>Authored on Fri, Jun 14, 4:37 PM
mhorneCommitted on Fri, Jun 14, 4:42 PM
Parents
rGfb1028dcd4ae: hda: add support for Tiger Lake-H
Branches
Unknown
Tags
Unknown