diff options
| author | Geert Uytterhoeven <[email protected]> | 2018-11-13 12:47:44 +0000 |
|---|---|---|
| committer | Philipp Zabel <[email protected]> | 2019-01-07 15:38:26 +0000 |
| commit | eaf91db0ab22dc2c664a9782f2f31dcbc410f3b5 (patch) | |
| tree | 73558bd411854718af939759af7fb5a561abaf57 /drivers/fpga/fpga-mgr.c | |
| parent | reset: Improve reset controller kernel docs (diff) | |
| download | kernel-eaf91db0ab22dc2c664a9782f2f31dcbc410f3b5.tar.gz kernel-eaf91db0ab22dc2c664a9782f2f31dcbc410f3b5.zip | |
reset: Add reset_control_get_count()
Currently the reset core has internal support for counting the number of
resets for a device described in DT. Generalize this to devices using
lookup resets, and export it for public use.
This will be used by generic drivers that need to be sure a device is
controlled by a single, dedicated reset line (e.g. vfio-platform).
Signed-off-by: Geert Uytterhoeven <[email protected]>
[[email protected]: fixed a typo in reset_control_get_count comment]
Signed-off-by: Philipp Zabel <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
