input: misc: mma8x5x should not read data during suspend

Mma8x5x accelerometer driver continue polling sensor data after
sensor power off, this is because power state flag has been added
into sensor state variable but control condition logic did not
update accordingly.

Change-Id: I4b2ad1a043782d9dea03c5af9a688a0cc4439186
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
1 file changed