staging: nvec: send suspend messages synchronously
commit9feeb0147fe6ae3158db5f319faded5e763744f9
authorMarc Dietrich <marvin24@gmx.de>
Tue, 27 Sep 2011 17:01:08 +0000 (27 19:01 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 30 Sep 2011 00:41:40 +0000 (29 17:41 -0700)
tree33c9c66dc018350b16294cc41499402136a834d0
parentde839b8f06bc5dd3f5037c4409a720cbb9bf21c3
staging: nvec: send suspend messages synchronously

The suspend commands need to be sent using the
synchronous method, otherwise the power gets
disabled before the messages are transferred.

Signed-off-by: Marc Dietrich <marvin24@gmx.de>
[jak@jak-linux.org: Rewrote commit message]
Signed-off-by: Julian Andres Klode <jak@jak-linux.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/nvec/nvec.c