]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: qcom: qdf2xxx: improve error checking and reporting
authorTimur Tabi <timur@codeaurora.org>
Tue, 10 Nov 2015 15:57:10 +0000 (09:57 -0600)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 1 Dec 2015 08:59:02 +0000 (09:59 +0100)
commit66198e9a08a686649aabe194a82262e1181db3a3
treeb461e9a3029a7667c979c72936ea9211a3e276fe
parentaf679ac6c2b8d800c1358c012ebd99f01d623069
pinctrl: qcom: qdf2xxx: improve error checking and reporting

The driver doesn't report an error message if the ACPI tables are missing
the num-gpios property (which indicates how many GPIOs there are on this
SOC), and it didn't check to ensure that the mallocs didn't fail.

Signed-off-by: Timur Tabi <timur@codeaurora.org>
Reviewed-by: Björn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-qdf2xxx.c