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:
Родитель
757651e3d6
Коммит
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:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче