summaryrefslogtreecommitdiff
path: root/include/linux/stm.h
diff options
context:
space:
mode:
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>2016-02-15 20:12:09 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-21 01:09:14 +0300
commitcc8424074e51355e0c6ba717d8edc50d408f2802 (patch)
tree3bafbc3bec78e09b59d9715169dff975c991baeb /include/linux/stm.h
parentb4ca34aaf78ed0cdfc15956d377064104257a437 (diff)
downloadlinux-cc8424074e51355e0c6ba717d8edc50d408f2802.tar.xz
stm class: Plug stm device's unlink callback
STM device's unlink callback is never actually called from anywhere in the stm class code. This patch adds calls to stm driver's unlink method after the unlinking has succeeded. Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/stm.h')
-rw-r--r--include/linux/stm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/stm.h b/include/linux/stm.h
index ab8ceca4f570..1a79ed8e43da 100644
--- a/include/linux/stm.h
+++ b/include/linux/stm.h
@@ -74,6 +74,9 @@ struct stm_device;
* it must return zero;
* 3) if it does not support the requested packet type/flag combination,
* it must return -ENOTSUPP.
+ *
+ * The @unlink callback is called when there are no more active writers so
+ * that the master/channel can be quiesced.
*/
struct stm_data {
const char *name;