Commit aed8fda
net: phy: Fix reading LED reg property
'reg' is always encoded in 32 bits, thus it has to be read using the
function with the corresponding bit width.
Fixes: 01e5b72 ("net: phy: Add a binding for PHY LEDs")
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20230424141648.317944-1-alexander.stein@ew.tq-group.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent e515c33 commit aed8fda
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3028 | 3028 | | |
3029 | 3029 | | |
3030 | 3030 | | |
| 3031 | + | |
3031 | 3032 | | |
3032 | 3033 | | |
3033 | 3034 | | |
| |||
3037 | 3038 | | |
3038 | 3039 | | |
3039 | 3040 | | |
3040 | | - | |
| 3041 | + | |
3041 | 3042 | | |
3042 | 3043 | | |
| 3044 | + | |
| 3045 | + | |
3043 | 3046 | | |
| 3047 | + | |
3044 | 3048 | | |
3045 | 3049 | | |
3046 | 3050 | | |
| |||
0 commit comments