commit | fa581f81fd2825839588595cf91ed93be760fde0 | [log] [tgz] |
---|---|---|
author | bertrand.cachet@heig-vd.ch <bertrand.cachet@heig-vd.ch> | Tue Nov 15 03:40:53 2011 +0000 |
committer | Stefano Babic <sbabic@denx.de> | Tue Nov 22 08:39:27 2011 +0100 |
tree | 2b64cb0548aaf51c9a7e7485bc0f447e34f8be8e | |
parent | 3e77359ed34ccf857efd8bba8e97a0cef81a9adc [diff] |
Improve Power Management in SMC911X driver. device is already in *normal* (D0) mode => it doesn't need to be wake-up. With this patch, we only wake-up (writing on TEST_BYTE register) if PM_MODE bits of PM_CTRL register is in sleep (D1/D2) mode. Signed-off-by: Bertrand Cachet <bertrand.cachet@heig-vd.ch>