Commit 58956ba2 authored by Axel Lin's avatar Axel Lin Committed by Grant Likely

gpio: tps65910: add missing breaks in tps65910_gpio_init

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment