staging: zram: fix invalid memory references during disk write

Fixes a bug introduced by commit c8f2f0db1 ("zram: Fix handling
of incompressible pages") which caused invalid memory references
during disk write. Invalid references could occur in two cases:
 - Incoming data expands on compression: In this case, reference was
made to kunmap()'ed bio page.
 - Partial (non PAGE_SIZE) write with incompressible data: In this
case, reference was made to a kfree()'ed buffer.

Fixes bug 50081:
https://bugzilla.kernel.org/show_bug.cgi?id=50081

Signed-off-by: Nitin Gupta <ngupta@vflare.org>
Cc: stable <stable@vger.kernel.org>
Reported-by: Mihail Kasadjikov <hamer.mk@gmail.com>
Reported-by: Tomas M <tomas@slax.org>
Reviewed-by: Minchan Kim <minchan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Conflicts:
	drivers/staging/zram/zram_drv.c
misc: spica-dpram: Shut the modem down before powering it off

This patch modifies the driver to send power off command to the modem
instead of gracefully powering it off on system shutdown,

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
misc: spica-dpram: Check interrupt status on system resume

Due to handling level based interrupt signal using edge triggering,
in certain edge cases (system resume) sometimes an interrupt might be
missed.

This patch adds checking for interrupt condition to driver resume
callback.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
ARM: configs: Update gt_i5700 defconfig

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>