diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2018-10-31 14:55:47 +0100 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2019-02-19 17:42:28 +0100 |
commit | 9212492f6eeaf944ee0966a85054a59314bb1c39 (patch) | |
tree | 1a5e6c7a405e7efe20acc6db899c28acfadc8b8d /drivers/gpio/gpio-it87.c | |
parent | irq/irq_sim: add irq_set_type() callback (diff) | |
download | linux-9212492f6eeaf944ee0966a85054a59314bb1c39.tar.xz linux-9212492f6eeaf944ee0966a85054a59314bb1c39.zip |
gpio: mockup: add locking
While no user reported any race condition problems with gpio-mockup,
let's be on the safe side and use a mutex when performing any changes
on the dummy chip structures.
Suggested-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'drivers/gpio/gpio-it87.c')
0 files changed, 0 insertions, 0 deletions