Repository navigation
Commit b797a55
mfd: Refactor WM8350 chip identification
Since the WM8350 driver was originally written the semantics for the
identification registers of the chip have been clarified, allowing
us to do an exact match on all the fields. This avoids mistakenly
running on unsupported hardware.
Also change to using the datasheet names more consistently for
legibility and fix a printk() that should be dev_err().
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>1 parent d756f4a commit b797a55
2 files changed
Lines changed: 43 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1227 | 1227 | | |
1228 | 1228 | | |
1229 | 1229 | | |
1230 | | - | |
| 1230 | + | |
| 1231 | + | |
1231 | 1232 | | |
1232 | 1233 | | |
1233 | 1234 | | |
1234 | 1235 | | |
| 1236 | + | |
1235 | 1237 | | |
1236 | 1238 | | |
1237 | 1239 | | |
| 1240 | + | |
1238 | 1241 | | |
1239 | | - | |
1240 | | - | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
1241 | 1265 | | |
1242 | | - | |
| 1266 | + | |
1243 | 1267 | | |
1244 | 1268 | | |
1245 | | - | |
| 1269 | + | |
1246 | 1270 | | |
1247 | 1271 | | |
1248 | | - | |
| 1272 | + | |
1249 | 1273 | | |
1250 | 1274 | | |
1251 | 1275 | | |
1252 | | - | |
| 1276 | + | |
1253 | 1277 | | |
1254 | 1278 | | |
1255 | 1279 | | |
1256 | 1280 | | |
1257 | | - | |
1258 | | - | |
| 1281 | + | |
1259 | 1282 | | |
1260 | 1283 | | |
1261 | 1284 | | |
1262 | | - | |
1263 | | - | |
1264 | | - | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
1265 | 1289 | | |
1266 | 1290 | | |
1267 | 1291 | | |
1268 | 1292 | | |
1269 | | - | |
1270 | | - | |
1271 | | - | |
1272 | | - | |
1273 | 1293 | | |
1274 | 1294 | | |
1275 | | - | |
| 1295 | + | |
1276 | 1296 | | |
1277 | 1297 | | |
1278 | 1298 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
82 | 88 | | |
83 | 89 | | |
84 | 90 | | |
| |||
0 commit comments