diff options
author | Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> | 2024-02-02 10:41:31 +0200 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-02-06 11:14:56 +0100 |
commit | 23698a9abb629009b42ef419072e567b43ca6866 (patch) | |
tree | 39ced92109c6ee1e858d20bf0def841fc655097d /drivers/net/wireless | |
parent | f384ab481cab6ad71afdf9c80a8b407a70a8624c (diff) |
net: ravb: Move delay mode set in the driver's ndo_open API
Delay parsing and setting were done in the driver's probe API. As some IP
variants switch to reset mode (and thus the register contents is lost) when
setting clocks (due to module standby functionality) to be able to
implement runtime PM keep the delay parsing in the driver's probe function
and move the delay applying function to the driver's ndo_open API.
Along with it, ravb_parse_delay_mode() function was moved close to
ravb_set_delay_mode() function to have the delay specific code in the
same place.
Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/wireless')
0 files changed, 0 insertions, 0 deletions