mirror-linux/include/linux/mfd/arizona
Charles Keepax 6e00ff0793 mfd: arizona: Correct type of gpio_defaults
gpio_defaults needs to be specified as an unsigned int rather than an
int, because the intention of the DT binding is that all out of range
values for a 16-bit register will cause the defaults to be used,
however, if gpio_defaults is an int then values that are larger than
INT_MAX will become negative numbers and be written out directly to the
hardware. As no where in the code replies on gpio_defaults being an int,
the simplest fix is to just change it to unsigned.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2015-03-30 10:06:29 +01:00
..
core.h mfd: arizona: Add support for WM8280/WM8281 2015-02-26 10:04:07 +00:00
pdata.h mfd: arizona: Correct type of gpio_defaults 2015-03-30 10:06:29 +01:00
registers.h mfd: wm5110: Add missing registers for AIF2 channels 3-6 2014-11-25 16:18:56 +00:00