diff options
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | 2023-01-24 09:02:10 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-01-25 13:00:27 +0000 |
commit | c2b6cdee1d13ffbb24baca3c9b8a572d6b541e4e (patch) | |
tree | 9c54258953f4b577b602c4a3f2a0662aa7a87121 /crypto/kdf_sp800108.c | |
parent | f2b0b5210f67c56a3bcdf92ff665fb285d6e0067 (diff) | |
download | linux-c2b6cdee1d13ffbb24baca3c9b8a572d6b541e4e.tar.bz2 |
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: f5d7837f96e5 ("ravb: ptp: Add CONFIG mode support")
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/kdf_sp800108.c')
0 files changed, 0 insertions, 0 deletions