Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 42c38d4a authored by Pavel Machek's avatar Pavel Machek Committed by Ulf Hansson
Browse files

mmc: core: Fix warning and undefined behavior in mmc voltage handling



!voltage_ranges is tested for too late, allowing warning and undefined
behavior. Fix that.

Signed-off-by: default avatarPavel Machek <pavel@ucw.cz>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 4c94cb65
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment