diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2014-03-18 21:52:01 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-04 01:20:24 +0200 |
commit | a532bbedc85ff3b834ba81e49163a3f543be1775 (patch) | |
tree | 44dd2f1934aa24dda9a42e303497c35f943efc48 /drivers/misc/mei/mei_dev.h | |
parent | mei: me: add pg exit and entry flow commands (diff) | |
download | linux-a532bbedc85ff3b834ba81e49163a3f543be1775.tar.xz linux-a532bbedc85ff3b834ba81e49163a3f543be1775.zip |
mei: add function to check write queues
The driver needs to check whether the write
queue idle before entering power gating
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/mei_dev.h')
-rw-r--r-- | drivers/misc/mei/mei_dev.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/mei/mei_dev.h b/drivers/misc/mei/mei_dev.h index bec6adef68bd..fe76e5b4cd2a 100644 --- a/drivers/misc/mei/mei_dev.h +++ b/drivers/misc/mei/mei_dev.h @@ -680,6 +680,8 @@ static inline int mei_count_full_read_slots(struct mei_device *dev) bool mei_hbuf_acquire(struct mei_device *dev); +bool mei_write_is_idle(struct mei_device *dev); + #if IS_ENABLED(CONFIG_DEBUG_FS) int mei_dbgfs_register(struct mei_device *dev, const char *name); void mei_dbgfs_deregister(struct mei_device *dev); |