intel_th: Hold output driver module reference while capture is active
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>
Fri, 8 Apr 2016 14:35:04 +0000 (17:35 +0300)
committerAlexander Shishkin <alexander.shishkin@linux.intel.com>
Fri, 8 Apr 2016 14:41:25 +0000 (17:41 +0300)
commite2ea295baf87d78f2ed86ce595b30c691b18b210
tree329293f71d023e86600582c372a54b7e583b0156
parenta45ff6ed742cdfdb3cdebee83d19ab1c00d91fcc
intel_th: Hold output driver module reference while capture is active

Right now it's possible to unload the output subdevice's driver while
the capture to this output is active. Prevent this by holding the
output driver's module reference.

Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Reviewed-by: Laurent Fert <laurent.fert@intel.com>
drivers/hwtracing/intel_th/core.c
This page took 0.034744 seconds and 5 git commands to generate.