diff options
author | Tingwei Zhang <tingwei@codeaurora.org> | 2020-09-28 10:35:08 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-28 19:47:41 +0200 |
commit | f02b089e7bddd2f66e63f926960a4e384b1f436d (patch) | |
tree | 24e4529cc2f248b6e5895ca081fa96ef50c6dbb2 /crypto | |
parent | f2ccc7b7bfa91b5cad5a4d57b269f6d7bbafd67d (diff) |
coresight: cti: Increase reference count when enabling cti
CTI device is enabled when associated coresight device is enabled.
Increase the module and device reference count for CTI device
when it's enabled. This can prevent CTI device be removed or
module be unloaded when CTI device is enabled by an active trace
session.
Signed-off-by: Mike Leach <mike.leach@linaro.org>
Signed-off-by: Tingwei Zhang <tingwei@codeaurora.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20200928163513.70169-21-mathieu.poirier@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions