diff options
author | Ming Lei <ming.lei@canonical.com> | 2013-03-15 12:08:54 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-25 10:55:46 -0700 |
commit | 93e4f47f4d1a3483f009202e8a66a3a08de5c4b6 (patch) | |
tree | 5dde1f9ff6ff273d80e1f53677fc5a682dd149f7 /drivers/hid | |
parent | 303f0847925ece27129487a2bfc05199ab2a0b51 (diff) |
USB: serial: comments on suspend failure
If suspend callback fails in system sleep context, usb core will
ignore the failure and let system sleep go ahead further, so
this patch comments on the case and requires that serial->type->suspend()
MUST return 0 in system sleep context.
Acked-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hid')
0 files changed, 0 insertions, 0 deletions