17 Nov, 2015
1 commit
-
of_match_device could return NULL, and so cause a NULL pointer
dereference later.Reported-by: coverity (CID 1130700)
Signed-off-by: LABBE Corentin
Signed-off-by: Linus Walleij
22 Jul, 2014
1 commit
-
Signed-off-by: abdoulaye berthe
Signed-off-by: Linus Walleij
09 May, 2014
2 commits
-
Make of_device_id array const, because all OF functions
handle it as const.Signed-off-by: Jingoo Han
Signed-off-by: Linus Walleij -
The site-specific OOM messages are unnecessary, because they
duplicate the MM subsystem generic OOM message.Signed-off-by: Jingoo Han
Reviewed-by: Javier Martinez Canillas
Signed-off-by: Linus Walleij
04 Dec, 2013
1 commit
-
This switches the two members of struct gpio_chip that were
defined as unsigned foo:1 to bool, because that is indeed what
they are. Switch all users in the gpio and pinctrl subsystems
to assign these values with true/false instead of 0/1. The
users outside these subsystems will survive since true/false
is 1/0, atleast we set some kind of more strict typing example.Signed-off-by: Linus Walleij
19 Sep, 2013
1 commit
-
TI Palmas series device TPS80036 supports 16 GPIOs.
Register its all 16 gpios when this device is selected.Signed-off-by: Laxman Dewangan
Signed-off-by: Linus Walleij
16 Aug, 2013
1 commit
-
It seems that the value read back from the PALMAS_GPIO_DATA_IN register
isn't valid if the GPIO direction is out. When that's the case, we can
read back the PALMAS_GPIO_DATA_OUT register to get the proper output value.Signed-off-by: Andrew Chew
Acked-by: Laxman Dewangan
Signed-off-by: Linus Walleij
30 Jul, 2013
1 commit
-
Add of_device_id table for Palma GPIO to be enable the
driver from DT file.The driver can be registered from DT file as:
palmas: tps65913@58 {
:::::::::::
palmas_gpio: palmas_gpio {
compatible = "ti,palmas-gpio";
gpio-controller;
#gpio-cells = ;
};
};Signed-off-by: Laxman Dewangan
Acked-by: Stephen Warren
Signed-off-by: Linus Walleij
14 Feb, 2013
1 commit
-
Add gpio driver for TI Palmas series PMIC. This has 8 gpio which can
work as input/output.Signed-off-by: Laxman Dewangan
Acked-by: Linus Walleij
Signed-off-by: Samuel Ortiz