Commit c2b6cde
net: ravb: Fix lack of register setting after system resumed for Gen3
After system entered Suspend to RAM, registers setting of this
hardware is reset because the SoC will be turned off. On R-Car Gen3
(info->ccc_gac), ravb_ptp_init() is called in ravb_probe() only. So,
after system resumed, it lacks of the initial settings for ptp. So,
add ravb_ptp_{init,stop}() into ravb_{resume,suspend}().
Fixes: f5d7837 ("ravb: ptp: Add CONFIG mode support")
Signed-off-by: Yoshihiro Shimoda <[email protected]>
Reviewed-by: Sergey Shtylyov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>1 parent f2b0b52 commit c2b6cde
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2973 | 2973 | | |
2974 | 2974 | | |
2975 | 2975 | | |
| 2976 | + | |
| 2977 | + | |
| 2978 | + | |
2976 | 2979 | | |
2977 | 2980 | | |
2978 | 2981 | | |
| |||
3011 | 3014 | | |
3012 | 3015 | | |
3013 | 3016 | | |
| 3017 | + | |
| 3018 | + | |
| 3019 | + | |
3014 | 3020 | | |
3015 | 3021 | | |
3016 | 3022 | | |
| |||
0 commit comments