]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Tue, 19 Sep 2017 10:07:56 +0000 (12:07 +0200)
commitda699513d179ce094fb3cbec2b8fb9260bd92332
tree0d99c95a737ef86eae57ec6dc630e2a21ae0fff9
parent5132169e493d8dd28061e7d0c187cf67b223b9bf
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>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/gpio/gpio-bcm-exp.c