diff options
| author | Kuninori Morimoto <[email protected]> | 2019-05-20 10:42:39 +0900 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2019-05-21 21:59:17 +0100 |
| commit | 428306c3b3fe107b1d059ceecf6fda09a1fcedf5 (patch) | |
| tree | 71fb2d8359f1ad1b5680139a1b9733800f576463 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | b385256eb54f0193f0f595a675409ba6e7282ffe (diff) | |
ASoC: soc-pcm: fixup try_module_get()/module_put() timing
soc_pcm_components_open/close() try to call
try_module_get()/module_put() based on
component->driver->module_get_upon_open.
Here, the purpose why we need to call these functions are to
checking module reference.
Thus, we need to call try_module_open() even though it doesn't
have .open callback.
The same reason, we need to call module_put() even though it
doesn't have .close
This patch calls try_module_get()/module_put() regardless of
.open/.close
Signed-off-by: Kuninori Morimoto <[email protected]>
Reviewed-by: Pierre-Louis Bossart <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions