Files
linux/drivers
Claudiu Beznea 0a6b5321dc net: ravb: Stop DMA in case of failures on ravb_open()
[ Upstream commit eac16a733427ba0de2449ffc7bd3da32ddb65cb7 ]

In case ravb_phy_start() returns with error the settings applied in
ravb_dmac_init() are not reverted (e.g. config mode). For this call
ravb_stop_dma() on failure path of ravb_open().

Fixes: a0d2f20650 ("Renesas Ethernet AVB PTP clock driver")
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-12-08 08:48:03 +01:00
..
2023-09-19 12:22:47 +02:00
2023-11-20 11:08:27 +01:00
2023-11-20 11:08:22 +01:00
2022-08-25 11:40:33 +02:00
2023-07-23 13:47:20 +02:00