]> git.proxmox.com Git - mirror_ubuntu-artful-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)
committerAndy Whitcroft <apw@canonical.com>
Thu, 13 Jul 2017 16:50:03 +0000 (17:50 +0100)
commit405746efe8af24ebdae8b09e4e27f6a0ee51c12e
tree30b3228d9d240bd936c7736e0ab57473e18d7264
parentd3cdab22f20547ba6c189a5b250c02ecb9c7be1b
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