Commit 92caded
brcmfmac: Avoid keeping power to SDIO card unless WOWL is used
Keeping the power to the SDIO card during system wide suspend, consumes
energy. Especially on battery driven embedded systems, this can be a
problem. Therefore, let's change the behaviour into allowing the SDIO card
to be powered off, unless WOWL is supported and enabled.
Note that, the downside from this change, is that during system resume the
SDIO card needs to be re-initialized and the FW must be re-programmed. Even
if this may take some time to complete, it should we worth it, rather than
draining the battery.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: Christophe Roullier <christophe.roullier@foss.st.com>
Reviewed-by: Yann Gautier <yann.gautier@foss.st.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220323083950.414783-1-ulf.hansson@linaro.org1 parent 3e12968 commit 92caded
1 file changed
+22
-17
lines changedLines changed: 22 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1119 | 1119 | | |
1120 | 1120 | | |
1121 | 1121 | | |
| 1122 | + | |
1122 | 1123 | | |
1123 | | - | |
1124 | | - | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
1125 | 1137 | | |
1126 | 1138 | | |
1127 | 1139 | | |
| |||
1130 | 1142 | | |
1131 | 1143 | | |
1132 | 1144 | | |
1133 | | - | |
| 1145 | + | |
1134 | 1146 | | |
1135 | 1147 | | |
1136 | 1148 | | |
| |||
1142 | 1154 | | |
1143 | 1155 | | |
1144 | 1156 | | |
1145 | | - | |
1146 | | - | |
1147 | | - | |
1148 | | - | |
| 1157 | + | |
1149 | 1158 | | |
1150 | 1159 | | |
1151 | 1160 | | |
1152 | 1161 | | |
1153 | | - | |
1154 | | - | |
1155 | | - | |
1156 | | - | |
1157 | | - | |
1158 | | - | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
1159 | 1166 | | |
1160 | 1167 | | |
1161 | 1168 | | |
| |||
1176 | 1183 | | |
1177 | 1184 | | |
1178 | 1185 | | |
1179 | | - | |
1180 | 1186 | | |
1181 | 1187 | | |
1182 | 1188 | | |
1183 | 1189 | | |
1184 | 1190 | | |
1185 | 1191 | | |
1186 | | - | |
| 1192 | + | |
1187 | 1193 | | |
1188 | 1194 | | |
1189 | 1195 | | |
1190 | 1196 | | |
1191 | 1197 | | |
1192 | | - | |
1193 | | - | |
| 1198 | + | |
1194 | 1199 | | |
1195 | 1200 | | |
1196 | 1201 | | |
| |||
0 commit comments