Messages in this thread | | | Date | Wed, 11 Jul 2012 14:28:41 +0100 | From | Mark Brown <> | Subject | Re: [PATCH] regulator: Fix bug in regulator_mode_to_status() core function. |
| |
On Wed, Jul 11, 2012 at 01:10:01PM +0100, Krystian Garbaciak wrote: > Fix typo for case REGULATOR_STATUS_STANDBY -> REGULATOR_MODE_STANDBY. > For undefined mode, return REGULATOR_STATUS_ERROR (0 is not valid status).
This is deliberate. It's not reporting an error, it's reporting an indeterminate status which is a different thing. [unhandled content-type:application/pgp-signature] | |