diff options
| author | Khouloud Touil <[email protected]> | 2020-03-10 13:22:50 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-03-19 07:41:03 +0100 |
| commit | a9c3766cb19cdadf2776aba41b64470002645894 (patch) | |
| tree | bc61d3afcf5e16f676fe28ce006cbd93cb19c9ae /tools/perf/scripts/python/syscall-counts.py | |
| parent | f7d8d7dcd978382dd1dd36e240dcddbfa6697796 (diff) | |
nvmem: release the write-protect pin
Put the write-protect GPIO descriptor in nvmem_release() so that it can
be automatically released when the associated device's reference count
drops to 0.
Fixes: 2a127da461a9 ("nvmem: add support for the write-protect pin")
Reported-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Khouloud Touil <[email protected]>
Cc: stable <[email protected]>
[Bartosz: tweak the commit message]
Signed-off-by: Bartosz Golaszewski <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions