]> asedeno.scripts.mit.edu Git - linux.git/commit
intel_th: Allow forcing host mode through drvdata
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>
Wed, 23 Aug 2017 06:52:00 +0000 (09:52 +0300)
committerAlexander Shishkin <alexander.shishkin@linux.intel.com>
Wed, 28 Mar 2018 15:47:21 +0000 (18:47 +0300)
commit282ffec565c2e9fe18bbb48c19767cccd2437f11
tree1f18aab2d7194f8f983b96a02f06b9805ac8431b
parent661b0df8489a35da4ee8acaaf43f204a913ccfc9
intel_th: Allow forcing host mode through drvdata

Some devices can only operate in host mode, so we need means of
communicating this to the core driver on per-device basis. This
adds a flag to drvdata to signal host-only capability to the core.

Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
drivers/hwtracing/intel_th/core.c
drivers/hwtracing/intel_th/intel_th.h