commit | fd975a7b180c9a8f6e02d2251eaabe9b0dcfeed6 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Wed Mar 09 20:38:55 2016 +0800 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed Mar 30 10:39:39 2016 +0200 |
tree | 8e0446439d1467ea8ca1e37301fa037363630f72 | |
parent | f55532a0c0b8bb6148f4e07853b876ef73bc69ca [diff] |
gpio: menz127: Drop lock field from struct men_z127_gpio Current code uses a uninitialized spin lock. bgpio_init() already initialized a spin lock, so let's switch to use &gc->bgpio_lock instead and remove the lock from struct men_z127_gpio. Fixes: f436bc2726c6 "gpio: add driver for MEN 16Z127 GPIO controller" Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>