提交 58956ba2 编写于 作者: A Axel Lin 提交者: Grant Likely

gpio: tps65910: add missing breaks in tps65910_gpio_init

Signed-off-by: NAxel Lin <axel.lin@gmail.com>
Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
上级 fe0d4220
...@@ -81,8 +81,10 @@ void tps65910_gpio_init(struct tps65910 *tps65910, int gpio_base) ...@@ -81,8 +81,10 @@ void tps65910_gpio_init(struct tps65910 *tps65910, int gpio_base)
switch(tps65910_chip_id(tps65910)) { switch(tps65910_chip_id(tps65910)) {
case TPS65910: case TPS65910:
tps65910->gpio.ngpio = 6; tps65910->gpio.ngpio = 6;
break;
case TPS65911: case TPS65911:
tps65910->gpio.ngpio = 9; tps65910->gpio.ngpio = 9;
break;
default: default:
return; return;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册