Re: [PATCH RFC 5/6] Switch SPI driver calls its own driver switch register function

2017-09-07 Thread Andrew Lunn
On Thu, Sep 07, 2017 at 09:09:22PM +, tristram...@microchip.com wrote: > From: Tristram Ha > > SPI driver calls own specific switch register function. > Shutdown callback function is added to reset switch to default state. > > Signed-off-by: Tristram Ha > --- > diff --git a/drivers/net/dsa/

[PATCH RFC 5/6] Switch SPI driver calls its own driver switch register function

2017-09-07 Thread Tristram.Ha
From: Tristram Ha SPI driver calls own specific switch register function. Shutdown callback function is added to reset switch to default state. Signed-off-by: Tristram Ha --- diff --git a/drivers/net/dsa/microchip/ksz_spi.c b/drivers/net/dsa/microchip/ksz_spi.c index c519469..d03eb83 100644 --