commit | adcde635f5d6b77e9f11087af09c6f62da2bf108 | [log] [tgz] |
---|---|---|
author | Alexander Shishkin <alexander.shishkin@linux.intel.com> | Mon Feb 15 19:12:10 2016 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Feb 20 14:09:14 2016 -0800 |
tree | 8032cdef7bfbf3822db6a2979d3b59d40bcffeaa | |
parent | cc8424074e51355e0c6ba717d8edc50d408f2802 [diff] |
stm class: dummy_stm: Add link callback for fault injection STM device's link callback has the power to abort master/channel assignment by returning a negative error code. Use this in dummy stm device to optionally abort assigning certain channel IDs. This is useful as fault injection into the stm class core, for testing purposes. Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>