Searched hist:"666 d6a36234f3123e909165ac32ea692213f0155" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/nvmem/ |
H A D | core.c | diff 666d6a36234f3123e909165ac32ea692213f0155 Fri Jun 09 11:59:09 CEST 2017 Heiner Kallweit <hkallweit1@gmail.com> nvmem: core: add locking to nvmem_find_cell
Adding entries to nvmem_cells and deleting entries from it is protected by nvmem_cells_mutex. Therefore this mutex should also protect iterating over the list.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|