pinctrl/amd: Set the level based on ACPI tables
authorShyam Sundar S K <ssundark@amd.com>
Thu, 8 Dec 2016 12:01:14 +0000 (17:31 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 29 Dec 2016 20:04:44 +0000 (21:04 +0100)
commit2983f296f2327bc517e3b29344fce82271160197
treef05ccd705e39d218c6f82e0b8c0bcbe5644dfb84
parent7ce7d89f48834cefece7804d38fc5d85382edf77
pinctrl/amd: Set the level based on ACPI tables

In the function amd_gpio_irq_set_type, read the values from
the ACPI table to set the level and drop the settings passed
by the client.

Cc: <stable@vger.kernel.org> # 4.8.x+
Reviewed-by: Pankaj Sen <Pankaj.Sen@amd.com>
Reviewed-by: Nitesh Kumar Agrawal <Nitesh-kumar.Agrawal@amd.com>
Reviewed-by: Shah, Nehal-bakulchandra <Nehal-bakulchandra.Shah@amd.com>
Signed-off-by: Shyam-sundar S-k <Shyam-sundar.S-k@amd.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-amd.c