mei: add function to check write queues
authorTomas Winkler <tomas.winkler@intel.com>
Tue, 18 Mar 2014 20:52:01 +0000 (22:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 May 2014 23:20:24 +0000 (19:20 -0400)
commita532bbedc85ff3b834ba81e49163a3f543be1775
tree44dd2f1934aa24dda9a42e303497c35f943efc48
parentba9cdd0e1ad88004c68395697fb2ec6b9b4ff020
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>
drivers/misc/mei/init.c
drivers/misc/mei/mei_dev.h