motion: do not enter S3 if it is already in S5
motion: do not enter S3 if it is already in S5

If sensor->active is S5, do not enter S3, since the sensor has been
shut down.

BUG=chrome-os-partner:38627
TEST=Gsensor works well
BRANCH=firmware-veyron-6588.B

Change-Id: I35ab82b8e197b3bc8f8a4d3ae7d8c3b70c17e385
Signed-off-by: Chris Zhong <83f0f67e3a475ac31423a7deb3ea3845def2c091@rock-chips.com>
Reviewed-on: https://chromium-review.googlesource.com/263628
Tested-by: 小华 王 <0c4228a4c24c31cc7b3f50332f4fab65d1058238@asus.com>
Tested-by: BoChao Jhan <b798efe4ec4ac46ab52dc37fd8c2f2db6ce423d1@asus.com>
Reviewed-by: Alec Berg <1a4429eeda29095a12e19a73405f80f5b7f37a63@chromium.org>
Reviewed-by: Alexandru Stan <1784cbba6d7675b1eba55eaefe41c7672ad9da3b@chromium.org>
Commit-Queue: Alexandru Stan <1784cbba6d7675b1eba55eaefe41c7672ad9da3b@chromium.org>

fourier49/BZ_DEV_EC,coreboot/chrome-ec,akappy7/ChromeOS_EC_LED_Diagnostics,fourier49/BIZ_EC,coreboot/chrome-ec,coreboot/chrome-ec,fourier49/BIZ_EC,fourier49/BZ_DEV_EC,fourier49/BZ_DEV_EC,fourier49/BIZ_EC,md5555/ec,md5555/ec,coreboot/chrome-ec,fourier49/BIZ_EC,coreboot/chrome-ec,md5555/ec,md5555/ec,akappy7/ChromeOS_EC_LED_Diagnostics,akappy7/ChromeOS_EC_LED_Diagnostics,akappy7/ChromeOS_EC_LED_Diagnostics,akappy7/ChromeOS_EC_LED_Diagnostics,coreboot/chrome-ec,fourier49/BZ_DEV_EC