diff options
author | Dennis Dalessandro <dennis.dalessandro@intel.com> | 2020-06-23 16:32:30 -0400 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-06-24 15:54:08 -0300 |
commit | 822fbd37410639acdae368ea55477ddd3498651d (patch) | |
tree | 3ac04c5f0916465cf67650264af4c3c6b559dd85 /drivers/hid/hid-google-hammer.c | |
parent | b46925a24a9ca7db03655657565e03d2de3027c8 (diff) | |
download | linux-822fbd37410639acdae368ea55477ddd3498651d.tar.bz2 |
IB/hfi1: Fix module use count flaw due to leftover module put calls
When the try_module_get calls were removed from opening and closing of the
i2c debugfs file, the corresponding module_put calls were missed. This
results in an inaccurate module use count that requires a power cycle to
fix.
Fixes: 09fbca8e6240 ("IB/hfi1: No need to use try_module_get for debugfs")
Link: https://lore.kernel.org/r/20200623203230.106975.76240.stgit@awfm-01.aw.intel.com
Cc: <stable@vger.kernel.org>
Reviewed-by: Kaike Wan <kaike.wan@intel.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/hid/hid-google-hammer.c')
0 files changed, 0 insertions, 0 deletions