lz4: Sync up with latest version

Thanks @labodj for heads up.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
lz4: fix another possible overrun

There is one other possible overrun in the lz4 code as implemented by
Linux at this point in time (which differs from the upstream lz4
codebase, but will get synced at in a future kernel release.)  As
pointed out by Don, we also need to check the overflow in the data
itself.

While we are at it, replace the odd error return value with just a
"simple" -1 value as the return value is never used for anything other
than a basic "did this work or not" check.

Reported-by: "Don A. Bailey" <donb@securitymouse.com>
Reported-by: Willy Tarreau <w@1wt.eu>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
s2w/dt2w: implement Pocket mode and make the features usable in deep sleep THX to Alin23!!!

Signed-off-by: renderbroken <zkennedy87@gmail.com>

Conflicts:
	drivers/input/touchscreen/sweep2wake.c
s2w/dt2w: separate PocketMode specific code THX to Alin23!!!

Signed-off-by: renderbroken <zkennedy87@gmail.com>
proximity: power off the sensor if dt2w/s2w is disabled
input: declare variables dependant on s2w/dt2w when the features are disabled

Conflicts:
	include/linux/input/sweep2wake.h