bcm2835-gpio-exp: Copy/paste error adding base twice
authorDave Stevenson <dave.stevenson@raspberrypi.org>
Tue, 14 Mar 2017 14:23:06 +0000 (14:23 +0000)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 8 Oct 2017 01:04:28 +0000 (01:04 +0000)
commit197bdbce5d925f1cc70201aa49fe4f88faad73aa
tree5622d34870e41b9ad775ea2b3965267f6fe33d31
parentcd78231fe78fe8ab0427519eb199efa57da78ffd
bcm2835-gpio-exp: Copy/paste error adding base twice

brcmexp_gpio_set was adding gpio->gc.base to the offset
twice, so passing an invalid number to the mailbox service.
The firmware treated it modulo-8 anyway, but was logging an
assert every time.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
drivers/gpio/gpio-bcm-exp.c