mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-27 22:24:11 +08:00
507397d19b
The regulator_get_voltage() function returns negative error codes.
This function saves it to an unsigned int and then does some range
checking and, since the error code falls outside the correct range,
it returns -EINVAL.
Beyond the messiness, this is bad because the regulator_get_voltage()
function can return -EPROBE_DEFER and it's important to propagate that
back properly so it can be handled.
Fixes:
|
||
---|---|---|
.. | ||
ad9523.c | ||
adf4350.c | ||
adf4371.c | ||
adf4377.c | ||
admv1013.c | ||
admv1014.c | ||
admv4420.c | ||
adrf6780.c | ||
Kconfig | ||
Makefile |