aboutsummaryrefslogtreecommitdiff
path: root/include/linux/stm.h
diff options
context:
space:
mode:
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>2016-02-15 19:12:09 +0200
committerMathieu Poirier <mathieu.poirier@linaro.org>2016-06-01 15:28:48 -0600
commitd3b187f9c7bc7f9f73e4064041890fd71de9f5b3 (patch)
tree7d8562607c72127a5b57ea7383ae0c03b1298225 /include/linux/stm.h
parentfffb71e99d58c8d8a1481821a9d39d90b004dc38 (diff)
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> (cherry picked from commit cc8424074e51355e0c6ba717d8edc50d408f2802)
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;