https://bugzilla.kernel.org/show_bug.cgi?id=191571
--- Comment #6 from Przemek (soprwa@gmail.com) --- Created attachment 258401 --> https://bugzilla.kernel.org/attachment.cgi?id=258401&action=edit proposed patch
As the problem still persist in kernel 4.13 I have made a little patch for it. With this patch applied to source tree my laptop can hibernate and resume successfully. As I am not a programmer please consider if this problem can be resolved in such way. Thanks, Przemek.