gpio: arizona: Add wm8997 support to probe
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
757651e3d6
commit
d9cadcc92a
|
@ -113,6 +113,7 @@ static int arizona_gpio_probe(struct platform_device *pdev)
|
||||||
switch (arizona->type) {
|
switch (arizona->type) {
|
||||||
case WM5102:
|
case WM5102:
|
||||||
case WM5110:
|
case WM5110:
|
||||||
|
case WM8997:
|
||||||
arizona_gpio->gpio_chip.ngpio = 5;
|
arizona_gpio->gpio_chip.ngpio = 5;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue