summaryrefslogtreecommitdiff
path: root/arch/x86/dts/chromebook_samus.dts
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@openbsd.org>2017-05-13 20:17:05 +0200
committerSimon Glass <sjg@chromium.org>2017-06-07 07:29:19 -0600
commitc40d48bbbce70b8dfa2b267e404f9f3e781dfd98 (patch)
tree15726b12eb94dbb375d75638f6e6a3411e0455a7 /arch/x86/dts/chromebook_samus.dts
parentd1bf69d822724d427b23e289b0c2cf9275c1e99e (diff)
regulator: pwm: Fix handling of missing init voltage
Since priv->init_voltage is an unsigned integer it can never be negative. So the current code fails to detect a missing 'regulator-init-microvolt' property and instead misconfigures the PWM device. Fix this by making the relevant members of 'struct pwm_regulator_info' signed integers. Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
Diffstat (limited to 'arch/x86/dts/chromebook_samus.dts')
0 files changed, 0 insertions, 0 deletions