diff options
Diffstat (limited to 'drivers/gpio/gpio-pca953x.c')
| -rw-r--r-- | drivers/gpio/gpio-pca953x.c | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c index a59d61cd44b2..5299e5bb76d6 100644 --- a/drivers/gpio/gpio-pca953x.c +++ b/drivers/gpio/gpio-pca953x.c @@ -474,6 +474,9 @@ static u8 pcal6534_recalc_addr(struct pca953x_chip *chip, int reg, int off)  	case PCAL6524_DEBOUNCE:  		pinctrl = ((reg & PCAL_PINCTRL_MASK) >> 1) + 0x1c;  		break; +	default: +		pinctrl = 0; +		break;  	}  	return pinctrl + addr + (off / BANK_SZ); | 
