]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: renesas: ravb: Fix promiscuous mode after system resumed
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Mon, 28 Nov 2022 06:56:04 +0000 (15:56 +0900)
committerJakub Kicinski <kuba@kernel.org>
Tue, 29 Nov 2022 16:41:01 +0000 (08:41 -0800)
commit32b7293721371ab9d71d7b32b156ba68478cef0b
tree517d7c57fe54f891f168ea924509765731bf4669
parente17dac398ef1c7819a1000668fc3757ac2f8ab9b
net: ethernet: renesas: ravb: Fix promiscuous mode after system resumed

After system resumed on some environment board, the promiscuous mode
is disabled because the SoC turned off. So, call ravb_set_rx_mode() in
the ravb_resume() to fix the issue.

Reported-by: Tho Vu <tho.vu.wh@renesas.com>
Fixes: 2297a0d5091b ("ravb: add sleep PM suspend/resume support")
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Link: https://lore.kernel.org/r/20221128065604.1864391-1-yoshihiro.shimoda.uh@renesas.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/renesas/ravb_main.c