]> 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)
committerJuerg Haefliger <juerg.haefliger@canonical.com>
Wed, 13 Sep 2017 08:03:42 +0000 (10:03 +0200)
commit7c322c1717a18e4c2713b9ac5eb73ff332503ffd
treef701639221611cbfb4e1e86b7bc7ef82e8aea9f3
parent28a2c5950efd426e80e827a33a6ab6c078f89908
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