Repository navigation
Commit 238f7bc
fec: Handle the regulator in suspend/resume
In order to save power, let's disable the regulator in the suspend function and
enable it in resume.
Tested on a mx28evk board.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent c55284e commit 238f7bc
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2044 | 2044 | | |
2045 | 2045 | | |
2046 | 2046 | | |
| 2047 | + | |
| 2048 | + | |
| 2049 | + | |
2047 | 2050 | | |
2048 | 2051 | | |
2049 | 2052 | | |
| |||
2052 | 2055 | | |
2053 | 2056 | | |
2054 | 2057 | | |
| 2058 | + | |
| 2059 | + | |
| 2060 | + | |
| 2061 | + | |
| 2062 | + | |
| 2063 | + | |
| 2064 | + | |
2055 | 2065 | | |
2056 | 2066 | | |
2057 | 2067 | | |
| |||
0 commit comments