Repository navigation
Commit b3ea5f4
ab8500-charger: Add UsbLineCtrl2 reference
When the state of USB Charge detection is changed then the calls
use a define for another register in other bank. This change
creates a new define for the correct register and removes the
magic numbers that are present.
Signed-off-by: Marcus Cooper <marcus.xm.cooper@stericsson.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Reviewed-by: Hakan BERG <hakan.berg@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>1 parent 257107a commit b3ea5f4
2 files changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
2348 | 2349 | | |
2349 | 2350 | | |
2350 | 2351 | | |
2351 | | - | |
2352 | | - | |
| 2352 | + | |
| 2353 | + | |
| 2354 | + | |
2353 | 2355 | | |
2354 | 2356 | | |
2355 | 2357 | | |
| |||
2359 | 2361 | | |
2360 | 2362 | | |
2361 | 2363 | | |
2362 | | - | |
2363 | | - | |
| 2364 | + | |
| 2365 | + | |
| 2366 | + | |
2364 | 2367 | | |
2365 | 2368 | | |
2366 | 2369 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
0 commit comments