> > -static int ksz9477_wait_vlan_ctrl_ready(struct ksz_device *dev, u32
> waiton,
> > - int timeout)
> > -{
> > - u8 data;
> > -
> > - do {
> > - ksz_read8(dev, REG_SW_VLAN_CTRL, &data);
> > - if (!(data & waiton))
> > - b
On Thu, Feb 07, 2019 at 08:07:08PM -0800, tristram...@microchip.com wrote:
> From: Tristram Ha
>
> Replace register polling functions using timeout with readx_poll_time call.
>
> Signed-off-by: Tristram Ha
> ---
> drivers/net/dsa/microchip/ksz9477.c | 91
> +++-
From: Tristram Ha
Replace register polling functions using timeout with readx_poll_time call.
Signed-off-by: Tristram Ha
---
drivers/net/dsa/microchip/ksz9477.c | 91 +++--
1 file changed, 27 insertions(+), 64 deletions(-)
diff --git a/drivers/net/dsa/microchip