mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 13:14:07 +08:00
gpio: tps65910: add missing breaks in tps65910_gpio_init
Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
parent
fe0d42203c
commit
58956ba23e
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user