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 /lib/notifier-error-inject.c | |
parent | 8d91ecc84d1b177d9bcce6ce8e82c64347ceac9d (diff) |
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 'lib/notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions