[linux-yocto] [PATCH 2/5] driver: net: can: disable clock when it is in enable status

2019-10-24 Thread Meng.Li
From: Limeng If disable a clock when it is already in disable status, there will be a warning trace generated. So, it is need to confirm whether what status the clock is in before disable it. Signed-off-by: Meng Li --- drivers/net/can/rcar/rcar_can.c | 5 - 1 file changed, 4

[linux-yocto] [PATCH 2/5] driver: net: can: disable clock when it is in enable status

2019-10-24 Thread Meng.Li
From: Limeng If disable a clock when it is already in disable status, there will be a warning trace generated. So, it is need to confirm whether what status the clock is in before disable it. Signed-off-by: Meng Li --- drivers/net/can/rcar/rcar_can.c | 5 - 1 file changed, 4