aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwtracing/stm/heartbeat.c
Commit message (Collapse)AuthorAge
* stm class: stm_heartbeat: Make nr_devs parameter read-onlyAlexander Shishkin2016-04-08
| | | | | | | | | Changing nr_devs after the module has been loaded doesn't actually change anything, so just make it read-only. Reported-by: Alan Cox <alan.cox@intel.com> Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Reviewed-by: Laurent Fert <laurent.fert@intel.com>
* stm class: Add heartbeat stm source deviceAlexander Shishkin2016-02-20
Heartbeat stm source may have multiple instances (for connecting to different stm devices). Each instance will send a periodic test message over its stm device when it is linked. This can be used for testing stm class framework, stm device drivers or as a heartbeat over the stm link. Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>