Re: [PATCH v2 net-next] net: dsa: lan9303: Introduce lan9303_read_wait

From: Vivien Didelot
Date: Wed Dec 13 2017 - 11:32:10 EST


Egil Hjelmeland <privat@xxxxxxxxxxxxxxxxxx> writes:

> Simplify lan9303_indirect_phy_wait_for_completion()
> and lan9303_switch_wait_for_completion() by using a new function
> lan9303_read_wait()
>
> Changes v1 -> v2:
> - param 'mask' type u32
> - removed param 'value' (will probably never be used)
> - add newline before return
>
> Signed-off-by: Egil Hjelmeland <privat@xxxxxxxxxxxxxxxxxx>

Reviewed-by: Vivien Didelot <vivien.didelot@xxxxxxxxxxxxxxxxxxxx>